]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, In rehash write the line in the entry immediately
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Wed, 29 Jun 2022 10:19:36 +0000 (13:19 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Oct 2022 14:50:38 +0000 (15:50 +0100)
commit1bea2dc7f4ff30bd785e1949d237cd2ce1e87c4f
tree470dacb32af0ac702028baafbeefcbf3497387ea
parent183a6706a07ea95cdd57a7703acec5f39fe3edde
net/mlx5: DR, In rehash write the line in the entry immediately

Don't wait for the whole table to be ready - write each row immediately.
This way we save allocations of the ste_send_info structure and improve
performance.

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