]> git.openfabrics.org - ~emulex/infiniband.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)
commiteb072c4b8da0ba87bc870c7911aae180bae34d4a
treedf1bdd2dba1c7189cfb278182ee6b540fc4fee50
parentd32435391974e39c35ade4d115f17c538a96a708
RDMA/cma: Set IBoE SL (user-priority) by egress map when using vlans

On top of commit 366cddb40 "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