RE: [PATCH v2 00/13] Introduce support for multiqueue (MQ) in fnic

Karan Tilak Kumar (kartilak)
2023-11-06T19:44:42Z

On Thursday, November 2, 2023 2:00 AM, John Garry <john.g.garry@oracle.com> wrote:
>
> On 27/10/2023 19:02, Karan Tilak Kumar wrote:
> > The number of IO queues to be used is stored in a configuration file
> > by the VIC firmware. The fNIC driver reads the configuration file and sets
> > the number of queues to be used. Previously, the driver was hard-coded
> > to use only one queue.
>
> In looking at commit aec95e3a8ded ("scsi: fnic: Refactor code in fnic
> probe to initialize SCSI layer"), support to set shost->nr_hw_queues > 1
> to enable MQ seems to have sneaked in already - what's going on there?
>
> John

Thanks for your review comments, John.
This was a defensive check and code to show that fnic does not have support for MQ
when the user tries to configure multiple IO queues.
The support for MQ is being added only now.

Regards,
Karan