diff options
author | Parav Pandit <parav@mellanox.com> | 2019-10-15 10:20:58 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-22 15:56:22 -0300 |
commit | d3bd93967015d974bb95d47cc14edd5adbea814f (patch) | |
tree | acaf4bb70ca0a57f2df886505a8a9d9442b9207c /drivers/thunderbolt/icm.c | |
parent | 4061ff7aa379fa770a82da0ed7ec4f9163034518 (diff) |
IB/cma: Honor traffic class from lower netdevice for RoCE
When a macvlan netdevice is used for RoCE, consider the tos->prio->tc
mapping as SL using its lower netdevice.
1. If the lower netdevice is a VLAN netdevice, consider the VLAN netdevice
and it's parent netdevice for mapping
2. If the lower netdevice is not a VLAN netdevice, consider tc mapping
directly from the lower netdevice
Link: https://lore.kernel.org/r/20191015072058.17347-1-leon@kernel.org
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/thunderbolt/icm.c')
0 files changed, 0 insertions, 0 deletions