From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH v5 1/1] ibacm: Add support for pathrecord query through netlink Date: Thu, 11 Jun 2015 12:46:41 -0600 Message-ID: <20150611184641.GB20779@obsidianresearch.com> References: <1434042265-5066-1-git-send-email-kaike.wan@intel.com> <20150611175940.GD20142@obsidianresearch.com> <3F128C9216C9B84BB6ED23EF16290AFB0CABD2BD@CRSMSX101.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <3F128C9216C9B84BB6ED23EF16290AFB0CABD2BD-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Wan, Kaike" Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Fleck, John" , "Weiny, Ira" List-Id: linux-rdma@vger.kernel.org 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. > 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html