net/mlx5e: Replace TC VLAN pop with VLAN 0 rewrite in prio tag mode
authorEli Britstein <elibr@mellanox.com>
Mon, 4 Mar 2019 13:50:38 +0000 (13:50 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 1 May 2019 21:39:15 +0000 (14:39 -0700)
commit0bac1194539753eca1c0fd9aca7a1764356bdc9f
tree498af6a57e92aa9b868542ecd702f69132d282ca
parent184867373d8c6bc3f8b3e4c8d9c8ef0fb5ce2340
net/mlx5e: Replace TC VLAN pop with VLAN 0 rewrite in prio tag mode

Current ConnectX HW is unable to perform VLAN pop in TX path and VLAN
push on RX path. To workaround that limitation untagged packets are
tagged with VLAN ID 0x000 (priority tag) and pop/push actions are
replaced by VLAN re-write actions (which are supported by the HW).
Replace TC VLAN pop action with a VLAN priority tag header rewrite.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c