OSDN Git Service

net/mlx5e: Add 802.1ad VLAN insertion support
authorGal Pressman <galp@mellanox.com>
Sun, 10 Sep 2017 10:22:51 +0000 (13:22 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 9 Nov 2017 04:27:35 +0000 (13:27 +0900)
commit4382c7b92a1db397874ca62c73aa8b023af6dba8
tree41cd05c7a78b904228d5958796dfa294b29cb1b0
parent7d92d580334a18800aaf66aaf2e103271c48bafb
net/mlx5e: Add 802.1ad VLAN insertion support

Report VLAN insertion support for S-tagged packets and add support by
choosing the correct VLAN type in the WQE.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
include/linux/mlx5/qp.h