From: Eli Cohen Date: Thu, 26 Aug 2010 14:18:59 +0000 (+0300) Subject: IB/core: Add VLAN support for IBoE X-Git-Tag: v2.6.37-rc1~95^2^6~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7bd463761c6abd8ca8d831f9cc0ac19f3b7d4b;p=pandora-kernel.git IB/core: Add VLAN support for IBoE Add 802.1q VLAN support to IBoE. The VLAN tag is encoded within the GID derived from a link local address in the following way: GID[11] GID[12] contain the VLAN ID when the GID contains a VLAN. The 3 bits user priority field of the packets are identical to the 3 bits of the SL. In case of rdma_cm apps, the TOS field is used to generate the SL field by doing a shift right of 5 bits effectively taking to 3 MS bits of the TOS field. Signed-off-by: Eli Cohen Signed-off-by: Roland Dreier --- Reading git-diff-tree failed