summaryrefslogtreecommitdiff
path: root/include/linux/blk-mq-pci.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-09-14 16:18:56 +0200
committerJens Axboe <axboe@fb.com>2016-09-15 08:42:03 -0600
commit973c4e372c8f71a15ac39765e657ded70fc87d41 (patch)
tree8076126f76d8d0c68cb81f305c4d575fb61ba07a /include/linux/blk-mq-pci.h
parentda695ba236b993f07a540d35c17f271ef08c89f3 (diff)
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.h9
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 */