diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-14 17:18:56 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-09-15 17:42:03 +0300 |
commit | 973c4e372c8f71a15ac39765e657ded70fc87d41 (patch) | |
tree | 8076126f76d8d0c68cb81f305c4d575fb61ba07a /include/linux/blk-mq-pci.h | |
parent | da695ba236b993f07a540d35c17f271ef08c89f3 (diff) | |
download | linux-973c4e372c8f71a15ac39765e657ded70fc87d41.tar.xz |
blk-mq: provide a default queue mapping for PCI device
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'include/linux/blk-mq-pci.h')
-rw-r--r-- | include/linux/blk-mq-pci.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/blk-mq-pci.h b/include/linux/blk-mq-pci.h new file mode 100644 index 000000000000..6ab595259112 --- /dev/null +++ b/include/linux/blk-mq-pci.h @@ -0,0 +1,9 @@ +#ifndef _LINUX_BLK_MQ_PCI_H +#define _LINUX_BLK_MQ_PCI_H + +struct blk_mq_tag_set; +struct pci_dev; + +int blk_mq_pci_map_queues(struct blk_mq_tag_set *set, struct pci_dev *pdev); + +#endif /* _LINUX_BLK_MQ_PCI_H */ |