diff options
author | Shay Drory <[email protected]> | 2024-04-11 14:54:39 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-04-12 19:13:53 -0700 |
commit | 37cc10da3a50e6d0cb9808a90b7da9b4868794dd (patch) | |
tree | 20e50d266d1fdcdaad354a1a7a3d728176692556 /tools/testing/selftests/net/lib/py/utils.py | |
parent | 68aba00483c7c4102429bcdfdece7289a8ab5c8e (diff) |
net/mlx5: Lag, restore buckets number to default after hash LAG deactivation
The cited patch introduces the concept of buckets in LAG in hash mode.
However, the patch doesn't clear the number of buckets in the LAG
deactivation. This results in using the wrong number of buckets in
case user create a hash mode LAG and afterwards create a non-hash
mode LAG.
Hence, restore buckets number to default after hash mode LAG
deactivation.
Fixes: 352899f384d4 ("net/mlx5: Lag, use buckets in hash mode")
Signed-off-by: Shay Drory <[email protected]>
Reviewed-by: Maor Gottlieb <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions