I noticed that the Linux MegaRAID driver for SAS based RAID controllers has
the same aforementioned module parameter. Despite the potential performance
drawbacks, I suspect it would be useful with the Broadcom MPI3 Storage
Controller Driver too, to respect the default IRQ affinity.
Please let me know your thoughts.
Changes since v1 [1]
- Addressed WARN_ON() in pci_alloc_irq_vectors_affinity()
due to affd != NULL when smp_affinity_enable = 0
- Avoid unnecessary complexity for a single queue
[1]: https://lore.kernel.org/lkml/20250428094141.1385188-2-atomlin@atomlin.com/
Aaron Tomlin (1):
scsi: mpi3mr: Introduce smp_affinity_enable module parameter
drivers/scsi/mpi3mr/mpi3mr.h | 1 +
drivers/scsi/mpi3mr/mpi3mr_fw.c | 14 ++++++++++++--
drivers/scsi/mpi3mr/mpi3mr_os.c | 14 +++++++++++---
3 files changed, 24 insertions(+), 5 deletions(-)
--
2.49.0