On Mon, Dec 7, 2015 at 8:02 AM, Jason Gunthorpe <jguntho...@obsidianresearch.com> wrote: > Why? The sgid index must tell you the network type.
struct ib_wc doesn't have sgid or sgid_index field. 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. -- 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