]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Replace TC VLAN pop and push actions with VLAN modify
authorEli Britstein <elibr@mellanox.com>
Thu, 21 Mar 2019 22:51:42 +0000 (15:51 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 Mar 2019 19:09:32 +0000 (12:09 -0700)
commit4c546db5cabc6bfba9e341bdbb3c9d7b50235c56
treeedbd2d8f66921a9a7593f15a4e60872a5e8f5e7d
parentc334fb803d9719df41a4b1dec8987cf4fdf42df0
net/mlx5e: Replace TC VLAN pop and push actions with VLAN modify

Changing the VLAN header may be implemented by pop the existing header
and push a new one. Translate those operations as VLAN modify.
Applicable for use cases such as OVS where the controller translates a
vlan modify meta (OF) rule to DP pop+push actions rule.

Signed-off-by: Eli Britstein <elibr@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