On Mon, Dec 7, 2015 at 8:34 AM, Jason Gunthorpe <jguntho...@obsidianresearch.com> wrote: > On Mon, Dec 07, 2015 at 08:15:40AM +0200, Moni Shoua wrote: > >> What you have though is the sgid taken from the GRH that is scattered >> to the first 40/20 bytes of the receive WQE. This is not enough to >> determine the network type. > > It is enough to discover the sgid index which will tell you the type. but how? all you have in hand is the sgid which can appear several times in the GID table in different indices. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
- [PATCH for-next V2 06/11] IB/core: Move rdma_is_upper_de... Matan Barak
- [PATCH for-next V2 05/11] IB/core: Add rdma_network_type... Matan Barak
- Re: [PATCH for-next V2 05/11] IB/core: Add rdma_net... Christoph Hellwig
- Re: [PATCH for-next V2 05/11] IB/core: Add rdma... Matan Barak
- RE: [PATCH for-next V2 05/11] IB/core: Add rdma... Liran Liss
- Re: [PATCH for-next V2 05/11] IB/core: Add ... Christoph Hellwig
- Re: [PATCH for-next V2 05/11] IB/core: ... Moni Shoua
- Re: [PATCH for-next V2 05/11] IB/core: Add ... Jason Gunthorpe
- Re: [PATCH for-next V2 05/11] IB/core: ... Moni Shoua
- Re: [PATCH for-next V2 05/11] IB/c... Jason Gunthorpe
- Re: [PATCH for-next V2 05/11] ... Moni Shoua
- Re: [PATCH for-next V2 05/11] ... Jason Gunthorpe
- Re: [PATCH for-next V2 05/11] ... Moni Shoua
- Re: [PATCH for-next V2 05/11] ... Jason Gunthorpe
- Re: [PATCH for-next V2 05/11] ... Moni Shoua
- Re: [PATCH for-next V2 05/11] ... Jason Gunthorpe
- Re: [PATCH for-next V2 05/11] ... Moni Shoua
- Re: [PATCH for-next V2 05/11] ... Jason Gunthorpe
- Re: [PATCH for-next V2 05/11] ... Moni Shoua
- Re: [PATCH for-next V2 05/11] ... Jason Gunthorpe
- RE: [PATCH for-next V2 05/11] ... Liran Liss