]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Group similer rules under the same fte
authorMark Bloch <markb@mellanox.com>
Sun, 11 Sep 2016 13:03:06 +0000 (13:03 +0000)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Oct 2016 13:43:16 +0000 (15:43 +0200)
commitcb50db1aad5003b3e5e6e3d0083d7a936972b33c
tree7c16b7202d33f6aa53eb7f9dc116d5869d407a29
parentfca81db45d8a7b0928f463b85710b3595c6dfd9a
net/mlx5: Group similer rules under the same fte

When adding a new rule, if we can match it with compare_match_value and
flow tag we might be able to insert the rule to the same fte.
In order to do that, there must be an overlap between the actions of the
fte and the new rule.

When updating the action of an existing fte, we must tell the firmware
we are doing so.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c