]> 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)
commit4aefcca396e1a9cd4deb13d0cfca93c175bc1a56
tree7c16b7202d33f6aa53eb7f9dc116d5869d407a29
parent761eb986ef4cb5a0f72b99026115a245a784581f
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