On Mon, Dec 7, 2015 at 8:19 PM, <cait@xxxxxxxxx> wrote: > Moni Shoua asked: > > > >> but how? all you have in hand is the sgid which can appear several > >> times in the GID table in different indices. > > > Step back and review the context. > > Adding an extra field to the WC is *not* going to redesign the hardware. This is where you have a mistake. Hardware is already designed that way. Mellanox NICs completion info have network_type indication of the packet for which the completion refers to. BTW, hardware that doesn't support network_type will still work. In that case it is the SW indeed that finds the network_type but the method for doing this should be avoided as much as possible. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html