diff options
author | Gal Pressman <galp@mellanox.com> | 2017-09-10 13:22:51 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-11-09 07:27:35 +0300 |
commit | 4382c7b92a1db397874ca62c73aa8b023af6dba8 (patch) | |
tree | 41cd05c7a78b904228d5958796dfa294b29cb1b0 /include/linux/mlx5/qp.h | |
parent | 7d92d580334a18800aaf66aaf2e103271c48bafb (diff) | |
download | linux-4382c7b92a1db397874ca62c73aa8b023af6dba8.tar.xz |
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>
Diffstat (limited to 'include/linux/mlx5/qp.h')
-rw-r--r-- | include/linux/mlx5/qp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/qp.h b/include/linux/mlx5/qp.h index 66d19b611fe4..62af7512dabb 100644 --- a/include/linux/mlx5/qp.h +++ b/include/linux/mlx5/qp.h @@ -221,6 +221,7 @@ enum { }; enum { + MLX5_ETH_WQE_SVLAN = 1 << 0, MLX5_ETH_WQE_INSERT_VLAN = 1 << 15, }; |