]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Offload flow rules to active lower representor
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 5 Mar 2019 19:11:14 +0000 (21:11 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 28 May 2020 01:13:48 +0000 (18:13 -0700)
commit11ce389d6ce4e2e99d92bdf4d58fe18f48bdfada
tree222b2f49d1c64187e9b17fa77c7fe5a60b1217e2
parent168a1e7138850e49d3823cf63c371f1396693a76
net/mlx5e: Offload flow rules to active lower representor

When a bond device is created over one or more non uplink representors,
and when a flow rule is offloaded to such bond device, offload a rule
to the active lower device.

Assuming that this is active-backup lag, the rules should be offloaded
to the active lower device which is the representor of the direct
path (not the failover).

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c