]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: DR, Remove rehash ctrl struct from dr_htbl
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 4 Jul 2021 17:54:26 +0000 (20:54 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 26 Aug 2021 22:38:04 +0000 (15:38 -0700)
commit1e16baa72a8838ed6ae2ec8be9f1ae8caf99ef8c
treebe53c7eafdc75f8e32ec9bba94a9b78637d83b6c
parentee1c69aacafe3a33fa3c894b1ff69335b84b4485
net/mlx5: DR, Remove rehash ctrl struct from dr_htbl

The calculations to decide for the maximum allowed collision threshold
are simple and there is no reason to save them on the htbl struct.

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
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h