diff options
author | Karan Tilak Kumar <kartilak@cisco.com> | 2023-12-11 09:36:14 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-12-13 22:11:34 -0500 |
commit | 52f6e196e52ef834f928aac297d895f4c32276ea (patch) | |
tree | acffd117c947710b510ecf7023ff38e7c8c1c8d4 /drivers/scsi/fnic/fnic_scsi.c | |
parent | 848d010ab934f1b4326a516396873ddae41db056 (diff) | |
download | lwn-52f6e196e52ef834f928aac297d895f4c32276ea.tar.gz lwn-52f6e196e52ef834f928aac297d895f4c32276ea.zip |
scsi: fnic: Add support for multiqueue (MQ) in fnic_main.c
Set map_queues in the fnic_host_template to fnic_mq_map_queues_cpus.
Define fnic_mq_map_queues_cpus to set cpu assignment to fnic queues.
Refactor code in fnic_probe to enable vnic queues before scsi_add_host.
Modify notify set to the correct index.
Reviewed-by: Sesidhar Baddela <sebaddel@cisco.com>
Reviewed-by: Arulprabhu Ponnusamy <arulponn@cisco.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Karan Tilak Kumar <kartilak@cisco.com>
Link: https://lore.kernel.org/r/20231211173617.932990-11-kartilak@cisco.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic_scsi.c')
0 files changed, 0 insertions, 0 deletions