]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch: Introduce prio tag mode
authorEli Britstein <elibr@mellanox.com>
Mon, 29 Apr 2019 18:14:01 +0000 (18:14 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 29 Apr 2019 23:55:04 +0000 (16:55 -0700)
commitec3c9e2e52b1080a6d9eee391dbf9b96e38365ef
tree4cb72c7a986a1aa14c2239b02d5c37519f075027
parent995455ac5c2971720b635c429c09ba62b6175abe
net/mlx5: E-Switch: Introduce 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 will be
tagged with VLAN ID 0x000 (priority tag) and pop/push actions will be
replaced by VLAN re-write actions (which are supported by the HW).
Introduce prio tag mode as a pre-step to controlling the workaround
behavior.

Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Oz Shlomo <ozsh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/mlx5_ifc.h