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)
commit32c8e3b23020e4815480a169d4b144d2976fcb06
treebe53c7eafdc75f8e32ec9bba94a9b78637d83b6c
parent46f2a8ae8a7008f845b537ba800faf0f1f1f86e7
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