]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
nvme-rdma: move tagset allocation to a dedicated routine
authorSagi Grimberg <sagi@grimberg.me>
Mon, 10 Jul 2017 06:22:30 +0000 (09:22 +0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 28 Aug 2017 19:38:25 +0000 (21:38 +0200)
commitb28a308ee7774341312de28405e53a4a30cb7d31
tree4d89bbd03fa7c228247e48563ceafc4d4719214a
parent34b6c2315eb66e6411261aa440f6e3c4cded3506
nvme-rdma: move tagset allocation to a dedicated routine

We always pair tagset allocation with rdma device reference and it shares
some code, centralize it with an argument if its an admin or IO tagset.

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