]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Add 802.1ad VLAN filter steering rules
authorGal Pressman <galp@mellanox.com>
Sun, 10 Sep 2017 07:36:43 +0000 (10:36 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 9 Nov 2017 04:27:08 +0000 (13:27 +0900)
commit0dc23bb77b40bd99d2102340a37ffc8587267c7f
treeb581da7a84c47c2be81e216da231ba9c793fa450
parent8974741ee84de109b228a3b8805c63aa726bc453
net/mlx5e: Add 802.1ad VLAN filter steering rules

When a user chooses to use 802.1ad VLAN the proper steering rules will
be added to the VLAN flow table (matching the specific S-tag VID).
Due to current hardware limitation, when using 802.1ad, we must disable
C-tag VLAN stripping on the RQs.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_fs.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c