]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Offload TC e-switch rules with egress LAG device
authorRabie Loulou <rabiel@mellanox.com>
Wed, 6 Jun 2018 13:27:08 +0000 (16:27 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 14 Dec 2018 21:28:53 +0000 (13:28 -0800)
commitd41b78327b1c595f012fc86cb5a5e417c4cc9ea4
treed6f291132636f5f9fb6aab7378330f1c3cc94f34
parent2ce54f40d9faefd01ccd763cf3fb65fc9add632e
net/mlx5e: Offload TC e-switch rules with egress LAG device

When parsing TC FDB actions, if the egress device is a bond/team
net-device which enslaved the uplink representor of the e-switch,
use the uplink representor as the destination in the HW rule.

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>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c