]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpt3sas: Add io_uring iopoll support
authorSreekanth Reddy <sreekanth.reddy@broadcom.com>
Tue, 27 Jul 2021 08:12:12 +0000 (13:42 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 10 Aug 2021 02:55:50 +0000 (22:55 -0400)
commit6541ae519443c0120c39ff7129f12a9d3126c28e
tree58847c73b8d25f665f885082ef216cf02d7fef51
parente167012ec02ef4d5457efe11bda5f9eeb7509eac
scsi: mpt3sas: Add io_uring iopoll support

Enable the driver to work in non-IRQ mode, i.e. there will not be any MSI-X
vectors associated with queues dedicated to polling. The IOC hardware is
single submission queue and multiple reply queue. However, using the shared
host tagset support it is possible to simulate multiple hardware queues.

When poll_queues are enabled through the module parameter, the driver will
allocate extra reply queues without an MSI-X association. All I/O
completion on these queues will be done through the iopoll interface.

Link: https://lore.kernel.org/r/20210727081212.2742-1-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpt3sas/mpt3sas_base.c
drivers/scsi/mpt3sas/mpt3sas_base.h
drivers/scsi/mpt3sas/mpt3sas_scsih.c