From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: [PATCH rdma-next 01/10] IB/core: Add raw packet protocol Date: Wed, 30 Nov 2016 09:39:49 -0700 Message-ID: <20161130163949.GC24639@obsidianresearch.com> References: <1480258296-27032-1-git-send-email-leon@kernel.org> <1480258296-27032-2-git-send-email-leon@kernel.org> <20161128170056.GC28381@obsidianresearch.com> <05bd01d2499a$1c75f750$5561e5f0$@opengridcomputing.com> <5927e04b-42ec-52c1-88a3-456cc4409334@talpey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Liran Liss Cc: Tom Talpey , Doug Ledford , Steve Wise , 'Leon Romanovsky' , "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , 'Steve Wise' , 'Mike Marciniszyn' , 'Dennis Dalessandro' , 'Lijun Ou' , "'Wei Hu(Xavier)'" , 'Faisal Latif' , Yishai Hadas , 'Selvin Xavier' , 'Devesh Sharma' , 'Mitesh Ahuja' , 'Christian Benvenuti' , 'Dave Goodell' , Moni Shoua , Or Gerlitz List-Id: linux-rdma@vger.kernel.org On Wed, Nov 30, 2016 at 04:30:09PM +0000, Liran Liss wrote: > > I'd love to see any such device support protocol choice per connection, not just > > per port. That of course would have implications on the rdma commection > > manager api. > Exactly. If/when such devices appear, we would need to extend > connection management to specify the protocol, rather than infer it > from the port space. We support that perfectly today as long as the port creates two 'struct ib_devices'. Anything else will require some kind of changes to libibverb's API to specify the AH style. > Rethinking about the uAPI, maybe we should report a protocol > bit-mask similar to the kernel's, instead of QP types? This would > provide all the required information (e.g., any combination of > RoCEv1/v2, iWARP, and Raw Ethernet for Ethernet links) for today's > use-cases as well as tomorrow's combined RoCE/iWARP devices. Maybe we should dump this uapi stuff until Matan's patches are done. The introspection possible with Matan's work is flexible enough to cope with more cases.. 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