[PATCH 1/3] blk-mq: Allow PCI vector offset for mapping queues

Keith Busch keith.busch at intel.com
Mon Mar 26 12:33:21 PDT 2018


On Sat, Mar 24, 2018 at 09:55:49PM +0800, jianchao.wang wrote:
> Maybe we could provide a callback parameter for __blk_mq_pci_map_queues which
> give the mapping from hctx queue num to device-relative interrupt vector index.

If a driver's mapping is so complicated as to require a special per-hctx
callback, it'd be just as easy to implement the mapping in that driver's
blk_mq_ops' 'map_queues' directly.



More information about the Linux-nvme mailing list