aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/qp.h
diff options
context:
space:
mode:
authorGal Pressman <galp@mellanox.com>2017-09-10 13:22:51 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-11-09 13:27:35 +0900
commit4382c7b92a1db397874ca62c73aa8b023af6dba8 (patch)
tree41cd05c7a78b904228d5958796dfa294b29cb1b0 /include/linux/mlx5/qp.h
parentnet/mlx5e: Add 802.1ad VLAN filter steering rules (diff)
downloadlinux-dev-4382c7b92a1db397874ca62c73aa8b023af6dba8.tar.xz
linux-dev-4382c7b92a1db397874ca62c73aa8b023af6dba8.zip
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.h1
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,
};