summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/fs.h
diff options
context:
space:
mode:
authorGal Pressman2017-11-28 10:58:51 +0100
committerSaeed Mahameed2017-12-28 23:43:52 +0100
commit9b93ab981e3bf62ff95a8cbb6faf652cd400decd (patch)
tree34e27bb7871cc59e32d92c0d721d5d386c02db74 /include/linux/mlx5/fs.h
parentnet/mlx5: Fix ingress/egress naming mistake (diff)
downloadkernel-qcow2-linux-9b93ab981e3bf62ff95a8cbb6faf652cd400decd.tar.gz
kernel-qcow2-linux-9b93ab981e3bf62ff95a8cbb6faf652cd400decd.tar.xz
kernel-qcow2-linux-9b93ab981e3bf62ff95a8cbb6faf652cd400decd.zip
net/mlx5: Separate ingress/egress namespaces for each vport
Each vport has its own root flow table for the ACL flow tables and root flow table is per namespace, therefore we should create a namespace for each vport. Fixes: efdc810ba39d ("net/mlx5: Flow steering, Add vport ACL support") Signed-off-by: Gal Pressman <galp@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/fs.h')
-rw-r--r--include/linux/mlx5/fs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index b25e7baa273e..a0b48afcb422 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -95,6 +95,10 @@ struct mlx5_flow_destination {
struct mlx5_flow_namespace *
mlx5_get_flow_namespace(struct mlx5_core_dev *dev,
enum mlx5_flow_namespace_type type);
+struct mlx5_flow_namespace *
+mlx5_get_flow_vport_acl_namespace(struct mlx5_core_dev *dev,
+ enum mlx5_flow_namespace_type type,
+ int vport);
struct mlx5_flow_table *
mlx5_create_auto_grouped_flow_table(struct mlx5_flow_namespace *ns,