nvme: add common helpers to allocate and free tagsets
authorChristoph Hellwig <hch@lst.de>
Sun, 4 Sep 2022 12:18:30 +0000 (15:18 +0300)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 12:44:15 +0000 (14:44 +0200)
commitfe60e8c534118a288cd251a59d747cbf5c03e160
treec08308a3a3687bbb0273be29d00ed131e26a39e4
parent3c69ed7aa546bd79b01977cf2c0a603cdb9e8ad5
nvme: add common helpers to allocate and free tagsets

Add common helpers to allocate and tear down the admin and I/O tag sets,
including the special queues allocated with them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h