]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Add support for update FTE
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Thu, 8 Jul 2021 13:58:39 +0000 (16:58 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 26 Aug 2021 22:38:04 +0000 (15:38 -0700)
commit35f0628219a94c1a4bab9d9cf98e0f3591270f29
treed7d8adf4e20771396b56ad9b773f986df7da1a25
parent8699c4462248c949eefb5a6becba5b3dc516b5b0
net/mlx5: DR, Add support for update FTE

Add the support for update FTE, which is needed for cases where there are
multiple rules with the same match. In such case fs_core will merge the
actions and call update FTE to update current FTE. Since we don't want to
disrupt the traffic, we will add the new duplicate rule, and only then
remove the old duplicate rule.

Signed-off-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/fs_dr.c