Skip to content

RFC scsi: mpi3mr: Introduce smp_affinity_enable module parameter

Aaron Tomlin linux-scsi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest1 patch 2 repliesIn review
  2. v1 RFC1 patch 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1scsi: mpi3mr: Introduce smp_affinity_enable module parameterdrivers/scsi/mpi3mr/mpi3mr.h drivers/scsi/mpi3mr/mpi3mr_fw.c drivers/scsi/mpi3mr/mpi3mr_os.c+24 -52 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFC PATCH v2 0/1] scsi: mpi3mr: Introduce smp_affinity_enable module parameter

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/[email protected]/

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(-)
Signature · 1 line
2.49.0