aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul Blakey <paulb@mellanox.com>2020-01-05 15:15:54 +0200
committerSaeed Mahameed <saeedm@mellanox.com>2020-01-16 15:48:58 -0800
commitff189b43568216c6211e9e7ddd9026cb8295e744 (patch)
treef2eba6708a3173f56a6b4a4a45a2258a49402de9 /include
parentnet/mlx5: fs_core: Introduce unmanaged flow tables (diff)
downloadlinux-dev-ff189b43568216c6211e9e7ddd9026cb8295e744.tar.xz
linux-dev-ff189b43568216c6211e9e7ddd9026cb8295e744.zip
net/mlx5: Add ignore level support fwd to table rules
If user sets ignore flow level flag on a rule, that rule can point to a flow table of any level, including those with levels equal or less than the level of the flow table it is added on. This with unamanged tables will be used to create a FDB chain/prio hierarchy much larger than currently supported level range. Signed-off-by: Paul Blakey <paulb@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@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 de2c838bae90..81f393fb7d96 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -196,6 +196,7 @@ struct mlx5_fs_vlan {
enum {
FLOW_ACT_NO_APPEND = BIT(0),
+ FLOW_ACT_IGNORE_FLOW_LEVEL = BIT(1),
};
struct mlx5_flow_act {