summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/fs.h
diff options
context:
space:
mode:
authorMaor Gottlieb2016-03-07 17:51:45 +0100
committerDoug Ledford2016-03-10 15:22:06 +0100
commit153fefbf34e5079c2dd69490f5f23373758d2e9c (patch)
treeec529dd63611b40a6c54a39ff835e794eb0a9867 /include/linux/mlx5/fs.h
parentIB/mlx4: Add support for the don't trap rule (diff)
downloadkernel-qcow2-linux-153fefbf34e5079c2dd69490f5f23373758d2e9c.tar.gz
kernel-qcow2-linux-153fefbf34e5079c2dd69490f5f23373758d2e9c.tar.xz
kernel-qcow2-linux-153fefbf34e5079c2dd69490f5f23373758d2e9c.zip
net/mlx5_core: Create anchor of last flow table
Create an empty flow table in the end of NIC rx namesapce. Adding this flow table simplify the implementation of "forward to next prio" rules. Signed-off-by: Maor Gottlieb <maorg@mellanox.com> Reviewed-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/linux/mlx5/fs.h')
-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 8230caa3fb6e..72adf53fdcba 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -52,6 +52,7 @@ enum mlx5_flow_namespace_type {
MLX5_FLOW_NAMESPACE_BYPASS,
MLX5_FLOW_NAMESPACE_KERNEL,
MLX5_FLOW_NAMESPACE_LEFTOVERS,
+ MLX5_FLOW_NAMESPACE_ANCHOR,
MLX5_FLOW_NAMESPACE_FDB,
};