aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMark Bloch <markb@mellanox.com>2019-03-28 15:27:32 +0200
committerLeon Romanovsky <leonro@mellanox.com>2019-04-10 09:29:11 +0300
commitd9cb06759eca5a420072b937d2a2a670db474008 (patch)
tree33b241f118e169cae04fbad2ea84cba43d14e83c /include
parentnet/mlx5: E-Switch, don't use hardcoded values for FDB prios (diff)
downloadlinux-dev-d9cb06759eca5a420072b937d2a2a670db474008.tar.xz
linux-dev-d9cb06759eca5a420072b937d2a2a670db474008.zip
net/mlx5: E-Switch, add a new prio to be used by the RDMA side
Create a new prio in the FDB, it will be used when inserting steering rules into the FDB from the RDMA side. We create a new PRIO so rules from the net side and rules from the RDMA side won't be inserted to the same PRIO, each side has it's own sandbox to play in. Signed-off-by: Mark Bloch <markb@mellanox.com> Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include')
-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 3eeb04154317..fd91df3a4e09 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -76,6 +76,7 @@ enum mlx5_flow_namespace_type {
};
enum {
+ FDB_BYPASS_PATH,
FDB_FAST_PATH,
FDB_SLOW_PATH,
};