Re: [RFC PATCH v2 1/1] scsi: mpi3mr: Introduce smp_affinity_enable module parameter

From: Aaron Tomlin
Date: Tue Jul 01 2025 - 20:30:25 EST


On Tue, Jul 01, 2025 at 03:54:43PM +0200, Daniel Wagner wrote:
> On Wed, Jun 25, 2025 at 09:03:42AM -0400, Aaron Tomlin wrote:
> > Understood. I agree, common functionality is indeed preferred.
> > Daniel, I look forward to your submission.
>
> Sorry for the delay. I found a few bugs in the new cpu queue mapping
> code and it took a while to debug and fix them all. I should have it
> ready to post by tomorrow. Currently, my brain overheating due to summer
> :)
>
> FWIW, the last standing issue is that the qla2xxx driver allocates
> queues for scsi and reuses a subset of these queues for nvme. So the irq
> allocating is done for the scsi queues, e.g 16 queues, but the nvme code
> limits it to 8 queues. Currently, there is a disconnect between the irq
> mapping and the cpu mapping code. The solution here is to use the
> irq_get_affinity function instead creating a new map based only on the
> housekeeping cpumask.

Hi Daniel,

No problem and thank you for the update. Excellent! Looking forward to
review.

Kind regards,
--
Aaron Tomlin