public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv3 0/3] mpt3sas: Full mq support, part 2
@ 2017-02-21 12:30 Hannes Reinecke
  2017-02-21 12:30 ` [PATCHv3 1/3] mpt3sas: Use 'msix_index' as argument for put_smid functions Hannes Reinecke
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hannes Reinecke @ 2017-02-21 12:30 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, James Bottomley, linux-scsi, Sreekanth Reddy,
	Kashyap Desai, Sathya Prakash, Hannes Reinecke

Hi all,

this is the second 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)
- Re-enable legacy sq submission

Hannes Reinecke (3):
  mpt3sas: Use 'msix_index' as argument for put_smid functions
  block: Add blk_mq_make_unique_tag()
  mpt3sas: scsi-mq interrupt steering

 block/blk-mq-tag.c                       |  3 +-
 drivers/scsi/mpt3sas/mpt3sas_base.c      | 85 +++++++++++++++++++-------------
 drivers/scsi/mpt3sas/mpt3sas_base.h      | 18 +++++--
 drivers/scsi/mpt3sas/mpt3sas_config.c    |  2 +-
 drivers/scsi/mpt3sas/mpt3sas_ctl.c       | 21 ++++----
 drivers/scsi/mpt3sas/mpt3sas_scsih.c     | 55 ++++++++++++++++-----
 drivers/scsi/mpt3sas/mpt3sas_transport.c |  8 +--
 include/linux/blk-mq.h                   |  5 ++
 8 files changed, 132 insertions(+), 65 deletions(-)

-- 
1.8.5.6

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-02-21 12:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-21 12:30 [PATCHv3 0/3] mpt3sas: Full mq support, part 2 Hannes Reinecke
2017-02-21 12:30 ` [PATCHv3 1/3] mpt3sas: Use 'msix_index' as argument for put_smid functions Hannes Reinecke
2017-02-21 12:30 ` [PATCHv3 2/3] block: Add blk_mq_make_unique_tag() Hannes Reinecke
2017-02-21 12:30 ` [PATCHv3 3/3] mpt3sas: scsi-mq interrupt steering Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox