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)
commit7d92d580334a18800aaf66aaf2e103271c48bafb
treeb581da7a84c47c2be81e216da231ba9c793fa450
parent03eda9541f351fb289fe18c87cb111f8bfca9837
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