> From: Jason Gunthorpe [mailto:[email protected]] > Sent: Thursday, June 11, 2015 2:47 PM > To: Wan, Kaike > Cc: [email protected]; Fleck, John; Weiny, Ira > Subject: Re: [PATCH v5 1/1] ibacm: Add support for pathrecord query > through netlink > > On Thu, Jun 11, 2015 at 06:31:53PM +0000, Wan, Kaike wrote: > > 1. all mandatory attributes must be present in the message. Otherwise, > > the request is invalid. > > All mandatory attributes that are present must be supported or the user > space side cannot answer the request.
Then I will define all mandatory attribute types and check against them on the user space side. > > > 2. Optional attributes are optional. If they are absent, it is fine. > > If they are present, they can still be ignored, depending on the > > application. > > Yes > > > Then what are the mandatory attributes: sgid, dgid, slid, dlid, pkey, > > reversise, qos, mtu, rate, or anything related to the pathrecord > > selection (can be used to set comp_mask during a query)? > > Yes > > > What are the optional attributes? > > Future policy decision items, like the net device the query is being made on > behalf of, or the in-kernel ULP, etc. > > Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
