summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
diff options
context:
space:
mode:
authorRabie Loulou2018-06-06 14:49:27 +0200
committerSaeed Mahameed2018-12-14 22:28:52 +0100
commit491c37e49b48e7a18dc79e29f3ac13e0c3d0fb54 (patch)
treeebc6169fa1dfdb68eac8e1f3210361793a15b32d /drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
parentnet/mlx5e: Enhance flow counter scheme for offloaded TC eswitch rules (diff)
downloadkernel-qcow2-linux-491c37e49b48e7a18dc79e29f3ac13e0c3d0fb54.tar.gz
kernel-qcow2-linux-491c37e49b48e7a18dc79e29f3ac13e0c3d0fb54.tar.xz
kernel-qcow2-linux-491c37e49b48e7a18dc79e29f3ac13e0c3d0fb54.zip
net/mlx5e: In case of LAG, one switch parent id is used for all representors
When the uplink representors are put into lag, set all the representors (VFs and uplinks) of the same NIC to return the same switchdev id. Currently, the route lookup code on the encapsulation offload path assumes that same switchdev id for the source and dest devices means that the dest is also mlx5 HW netdev. This doesn't hold anymore when we align the switchdev Id of the uplinks to be same, which in turn causes the bond/team to return that id to the caller. As such, enhance the relevant check to take into account the uplink lag case. Signed-off-by: Rabie Loulou <rabiel@mellanox.com> Signed-off-by: Aviv Heller <avivh@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_tc.c')
0 files changed, 0 insertions, 0 deletions