diff options
author | Erwan Velu <[email protected]> | 2024-08-12 10:22:42 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-15 18:57:01 -0700 |
commit | e5efc2311cc437e2b565d164a3de884fa33f13e9 (patch) | |
tree | d9ee87ceb7aa71032108b0966b081cfca3cbe31d /net/openvswitch/conntrack.c | |
parent | 8ea71e23f821cd593549bc22d731752f30758567 (diff) |
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 <[email protected]>
Acked-by: Yury Norov <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/openvswitch/conntrack.c')
0 files changed, 0 insertions, 0 deletions