aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAviv Heller <avivh@mellanox.com>2016-05-09 09:57:05 +0000
committerLeon Romanovsky <leon@kernel.org>2016-08-18 18:49:56 +0300
commitaaff1bea16bb7f259a263c3ae4633d092e2da799 (patch)
tree6c4f82ed6a6abac3f8c95eaf020dbca0ebee5b66 /include/linux
parentnet/mlx5: LAG and SRIOV cannot be used together (diff)
downloadlinux-dev-aaff1bea16bb7f259a263c3ae4633d092e2da799.tar.xz
linux-dev-aaff1bea16bb7f259a263c3ae4633d092e2da799.zip
net/mlx5: LAG demux flow table support
Add interfaces to allow the creation and destruction of a LAG demux flow table. It is a special flow table used during LAG for redirecting non user-mode packets from PF0 to PF1 root ft, if a packet was received on phys port two. 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')
-rw-r--r--include/linux/mlx5/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index e036d6030867..7edfe0b8f1ec 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -106,6 +106,9 @@ mlx5_create_vport_flow_table(struct mlx5_flow_namespace *ns,
int prio,
int num_flow_table_entries,
u32 level, u16 vport);
+struct mlx5_flow_table *mlx5_create_lag_demux_flow_table(
+ struct mlx5_flow_namespace *ns,
+ int prio, u32 level);
int mlx5_destroy_flow_table(struct mlx5_flow_table *ft);
/* inbox should be set with the following values: