aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorAviv Heller <avivh@mellanox.com>2016-05-09 10:02:29 +0000
committerLeon Romanovsky <leon@kernel.org>2016-08-18 18:49:57 +0300
commit3e75d4ebaae7aac5ba82fc7a6e0e6fb56dac1916 (patch)
tree40d519a9323d06e8004bf1f7a4f0ccf74bbfc134 /include/linux/mlx5
parentnet/mlx5: LAG demux flow table support (diff)
downloadlinux-dev-3e75d4ebaae7aac5ba82fc7a6e0e6fb56dac1916.tar.xz
linux-dev-3e75d4ebaae7aac5ba82fc7a6e0e6fb56dac1916.zip
net/mlx5: Add LAG flow steering namespace
This namespace is used for LAG demux flowtable. The idea is to position the LAG demux ft between bypass and kernel flowtables, allowing raw-eth traffic from both ports to be received by the PF0 IB device. Signed-off-by: Aviv Heller <avivh@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r--include/linux/mlx5/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index 7edfe0b8f1ec..8803212fc3aa 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -54,6 +54,7 @@ static inline void build_leftovers_ft_param(int *priority,
enum mlx5_flow_namespace_type {
MLX5_FLOW_NAMESPACE_BYPASS,
+ MLX5_FLOW_NAMESPACE_LAG,
MLX5_FLOW_NAMESPACE_OFFLOADS,
MLX5_FLOW_NAMESPACE_ETHTOOL,
MLX5_FLOW_NAMESPACE_KERNEL,