]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add ignore level support fwd to table rules
authorPaul Blakey <paulb@mellanox.com>
Sun, 5 Jan 2020 13:15:54 +0000 (15:15 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 16 Jan 2020 23:48:58 +0000 (15:48 -0800)
commit54445f572e0358f357bcb74e590c75baf784ddef
treef2eba6708a3173f56a6b4a4a45a2258a49402de9
parent303d4b5437ed2a3dafa754735f91ed0d84faf397
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>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/fs.h