Hi all,

this is the first part of my patchset to enable scsi multiqueue for the
mpt3sas driver.
While the HBA only has a single mailbox register for submitting commands,
it does have individual receive queues per MSI-X interrupt and as such
does benefit from converting it to full multiqueue support.

On request from Broadcom the patchset has been split in two parts, one
to enable lockless command submission and converting to scsi-mq, and
the other one for exposing all hardware queues to the OS.

As usual, comments and reviews are welcome.

Changes to v1:
- Include reviews from Christoph
- Use reserved commands for ioctl passthrough commands
- Include reviews from Sreekanth

Changes to v2:
- Rework ioctl code to not use blk_mq_busy_iter
- Open-code mpt3sas_scsi_direct_io_(get,set)

Hannes Reinecke (10):
  mpt3sas: switch to pci_alloc_irq_vectors
  mpt3sas: set default value for cb_idx
  mpt3sas: use 'list_splice_init()'
  mpt3sas: separate out _base_recovery_check()
  mpt3sas: open-code _scsih_scsi_lookup_get()
  mpt3sas: Introduce mpt3sas_get_st_from_smid()
  mpt3sas: check command status before attempting abort
  scsi: allocate reserved commands
  mpt3sas: always use first reserved smid for ioctl passthrough
  mpt3sas: lockless command submission for scsi-mq

 drivers/scsi/mpt3sas/mpt3sas_base.c      | 276 +++++++++++++++----------------
 drivers/scsi/mpt3sas/mpt3sas_base.h      |  23 +--
 drivers/scsi/mpt3sas/mpt3sas_ctl.c       |  30 ++--
 drivers/scsi/mpt3sas/mpt3sas_scsih.c     | 180 +++++++-------------
 drivers/scsi/mpt3sas/mpt3sas_warpdrive.c |  33 +---
 drivers/scsi/scsi_lib.c                  |   1 +
 include/scsi/scsi_host.h                 |   1 +
 7 files changed, 223 insertions(+), 321 deletions(-)

-- 
1.8.5.6

Reply via email to