]> www.infradead.org Git - users/hch/misc.git/commit
nvmet: fabrics: add CQ init and destroy
authorWilfred Mallawa <wilfred.mallawa@wdc.com>
Thu, 24 Apr 2025 05:13:51 +0000 (15:13 +1000)
committerChristoph Hellwig <hch@lst.de>
Mon, 12 May 2025 13:54:33 +0000 (15:54 +0200)
commitc1a19fd560537ab2143768d6b196808ed27bba10
treee38f2c2cefcb7ce9a13fffb4a3899c869fcbc421
parent2f75a55df271c2fa4dfadd4fd5b3289f5bd87648
nvmet: fabrics: add CQ init and destroy

With struct nvmet_cq now having a reference count, this patch amends the
target fabrics call chain to initialize and destroy/put a completion
queue.

Signed-off-by: Wilfred Mallawa <wilfred.mallawa@wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/fabrics-cmd.c
drivers/nvme/target/fc.c
drivers/nvme/target/loop.c
drivers/nvme/target/rdma.c
drivers/nvme/target/tcp.c