Re: [PATCH v6 02/26] IB/Verbs: Implement raw management helpers

2015-04-27 Thread Michael Wang
On 04/24/2015 06:29 PM, Jason Gunthorpe wrote: On Fri, Apr 24, 2015 at 03:15:54PM +, Liran Liss wrote: From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- +static inline int rdma_tech_iboe(struct ib_device *device, u8 port_num) +{ + return device-query_transport(device,

RE: [PATCH v6 02/26] IB/Verbs: Implement raw management helpers

2015-04-24 Thread Liran Liss
From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- Add raw helpers: rdma_tech_ib rdma_tech_iboe rdma_tech_iwarp rdma_ib_or_iboe (transition, clean up later) To help us detect which technology the port supported. Replace rdma_tech_* with rdma_protocol_*.

Re: [PATCH v6 02/26] IB/Verbs: Implement raw management helpers

2015-04-24 Thread Jason Gunthorpe
On Fri, Apr 24, 2015 at 03:15:54PM +, Liran Liss wrote: From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- +static inline int rdma_tech_iboe(struct ib_device *device, u8 port_num) +{ + return device-query_transport(device, port_num) + ==