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 14:22:00 -0600 Message-ID: <20150611202200.GA25813@obsidianresearch.com> References: <1434042265-5066-1-git-send-email-kaike.wan@intel.com> <20150611175940.GD20142@obsidianresearch.com> <2807E5FD2F6FDA4886F6618EAC48510E1109BDCF@CRSMSX101.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <2807E5FD2F6FDA4886F6618EAC48510E1109BDCF-8k97q/ur5Z2krb+BlOpmy7fspsVTdybXVpNB7YpNyf8@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Weiny, Ira" Cc: "Wan, Kaike" , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "Fleck, John" List-Id: linux-rdma@vger.kernel.org On Thu, Jun 11, 2015 at 08:16:41PM +0000, Weiny, Ira wrote: > > For instance if we add SL it would be mandatory, but policy information like > > requesting net_device would be optional. > > Why would SL be mandatory? If the kernel asks for a specific SL then user space must respect that and return a path with that exact SL. If userspace does not know how to do that, then it must not answer the query. It cannot ignore the SL requirement and return a random SL. Hypothetically, assuming we add SL.. 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