]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8bd2cda8be32b01bf4f8cf3e435653ef788d01fa
tree498af6a57e92aa9b868542ecd702f69132d282ca
parentfa898a689db858e08d867c2cc3ed088344e8ea0e
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