Message ID | 20231027180302.418676-1-kartilak@cisco.com (mailing list archive) |
---|---|
Headers | show |
Series | Introduce support for multiqueue (MQ) in fnic | expand |
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
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