On 10/08/2023 12:22, Nilesh Javali wrote:
So isn't something like
queue_work_on(raw_smp_processor_id(), ha->wq, &qpair->q_work) same as
queue_work(ha->wq, &qpair->q_work)?
I see that queue_work() already has the raw_smp_processor_id() call.
In fact queue_work uses queue_work_on that has raw_smp_processor_id.
So, qla2x using queue_work_on with raw_smp_processor_id should be okay,
Using queue_work(), rather than queue_work_on() with
raw_smp_processor_id(), would be simpler. Simpler is generally better.
And I see no advantage in using queue_work_on() with
raw_smp_processor_id() (over queue_work()).
Thanks,
John