diff options
author | Nitesh Narayan Lal <nitesh@redhat.com> | 2021-09-03 11:24:28 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2021-12-10 20:47:39 +0100 |
commit | 2d1e72f235d665aa699fb821f6da6e8bde84cbde (patch) | |
tree | d44cbfc9d5b64afffc829431e399cf4130a5c34f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ce5a58a96ccc241c6e5cbb3360494ddfaf118afe (diff) |
hinic: Use irq_set_affinity_and_hint()
The driver uses irq_set_affinity_hint() to:
- Set the affinity_hint which is consumed by the userspace for
distributing the interrupts
- Enforce affinity
As per commit 352f58b0d9f2 ("net-next/hinic: Set Rxq irq to specific cpu
for NUMA"), the hinic driver enforces its own affinity to bind IRQs to the
local NUMA node. However, irq_set_affinity_hint() applying the provided
cpumask as an affinity for the interrupt is an undocumented side effect.
To remove this side effect irq_set_affinity_hint() has been marked as
deprecated and new interfaces have been introduced. Hence, replace the
irq_set_affinity_hint() with the new interface irq_set_affinity_and_hint()
where the provided mask needs to be applied as the affinity and
affinity_hint pointer needs to be set and replace with
irq_update_affinity_hint() where only affinity_hint needs to be updated.
Signed-off-by: Nitesh Narayan Lal <nitesh@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210903152430.244937-13-nitesh@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions