]> 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)
commit1168c59a382d9ac9a615c97cc45ac59fc9cfe25f
treed7d8adf4e20771396b56ad9b773f986df7da1a25
parent58b0b07d2ea51cc317141a9268818463ddd2ab41
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