]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Set IBoE SL (user-priority) by egress map when using vlans
authorEyal Perry <eyalpe@mellanox.com>
Wed, 6 Nov 2013 13:37:24 +0000 (15:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Nov 2013 00:09:44 +0000 (19:09 -0500)
commit349ffa56fbf6324af3615c087770e9f9daa60024
treedf1bdd2dba1c7189cfb278182ee6b540fc4fee50
parent262191a80ce4ef7a32fef1dd3b0f1d960ea2be3a
RDMA/cma: Set IBoE SL (user-priority) by egress map when using vlans

On top of commit 5d17d7b2c "IB/rdma_cm: TOS <=> UP mapping for IBoE", add
support for case vlan egress map is used.

When the IBoE session is being set over a vlan, inherit the socket priority
to vlan priority mapping which was configured for the vlan device egress map.

Signed-off-by: Eyal Perry <eyalpe@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/core/cma.c