OSDN Git Service

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)
commit76b496b1bd79bcd669cd7411e80e09512dc6707f
treeedbd2d8f66921a9a7593f15a4e60872a5e8f5e7d
parentbdc837eecf73c391f5a9f97b5b61e6a1f30cf31f
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