diff options
author | Erwan Velu <erwanaliasr1@gmail.com> | 2024-08-12 10:22:42 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-08-16 03:57:01 +0200 |
commit | e5efc2311cc437e2b565d164a3de884fa33f13e9 (patch) | |
tree | d9ee87ceb7aa71032108b0966b081cfca3cbe31d /net/openvswitch/vport.h | |
parent | Merge branch 'ip-random-cleanup-for-devinet-c' (diff) | |
download | linux-e5efc2311cc437e2b565d164a3de884fa33f13e9.tar.xz linux-e5efc2311cc437e2b565d164a3de884fa33f13e9.zip |
net/mlx5: Use cpumask_local_spread() instead of custom code
Commit 2acda57736de ("net/mlx5e: Improve remote NUMA preferences used for the IRQ affinity hints")
removed the usage of cpumask_local_spread().
The issue explained in this commit was fixed by
commit 406d394abfcd ("cpumask: improve on cpumask_local_spread() locality").
Since this commit, mlx5_cpumask_default_spread() is having the same
behavior as cpumask_local_spread().
This commit is about :
- removing the specific logic and use cpumask_local_spread() instead
- passing mlx5_core_dev as argument to more flexibility
mlx5_cpumask_default_spread() is kept as it could be useful for some
future specific quirks.
Signed-off-by: Erwan Velu <e.velu@criteo.com>
Acked-by: Yury Norov <yury.norov@gmail.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20240812082244.22810-1-e.velu@criteo.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/openvswitch/vport.h')
0 files changed, 0 insertions, 0 deletions