nvme-rdma: support separate queue maps for read and write
authorSagi Grimberg <sagi@grimberg.me>
Wed, 12 Dec 2018 07:38:58 +0000 (23:38 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 08:59:10 +0000 (09:59 +0100)
commitb65bb777ef2237030f2802f2263ae9a0108f7acf
tree2e197bdf13bb28f308b1db3af22b273e9ec7be98
parent873946f4b957bf6e6a0351dd5282c73e0c870be9
nvme-rdma: support separate queue maps for read and write

llow NVMF_OPT_NR_WRITE_QUEUES to describe additional write queues.  In
addition, implement .map_queues that will apply 2 queue maps for read
and write queue sets.

Note that with the separate queue map, HCTX_TYPE_READ will always use
nr_io_queues and HCTX_TYPE_DEFAULT will use nr_write_queues.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/rdma.c