Linux block layer
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: John Garry <john.garry@huawei.com>
Cc: Christoph Hellwig <hch@lst.de>,
	linux-block@vger.kernel.org, axboe@kernel.dk, maxg@mellanox.com,
	Linuxarm <linuxarm@huawei.com>
Subject: Re: [Question] on blk_mq_map_queues()
Date: Thu, 5 Oct 2017 18:27:58 +0200	[thread overview]
Message-ID: <20171005162758.GA31439@lst.de> (raw)
In-Reply-To: <9f1e7e62-7d9d-199f-cb78-3dc4039b3042@huawei.com>

On Thu, Oct 05, 2017 at 05:06:54PM +0100, John Garry wrote:
> It's a HiSilicon hip07 (D05) platform. For this platform, the integrated 
> SAS controller is a platform device. This controller supports 16 hw queues.

That's v1 or v2 in drivers/scsi/hisi_sas?

Seems like you need to implement the equivalent of the 
pci_alloc_irq_vectors vector spreading for platform devices to get
your vectors properly assigned, and the have a blk_mq_of_map_queues
equivalent to blk_mq_pci_map_queues to map the queues based on the
interrupt assignment.

  reply	other threads:[~2017-10-05 16:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-05 13:28 [Question] on blk_mq_map_queues() John Garry
2017-10-05 15:59 ` Christoph Hellwig
2017-10-05 16:06   ` John Garry
2017-10-05 16:27     ` Christoph Hellwig [this message]
2017-10-05 17:19       ` John Garry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171005162758.GA31439@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=john.garry@huawei.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=maxg@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox