nvme-tcp: use the tagset alloc/free helpers
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Sep 2022 15:12:47 +0000 (17:12 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 12:44:16 +0000 (14:44 +0200)
commitde777825e462bc086dca9675312f1780b4b8c88e
treea8841834cbd4d44682d46a26ed0dbe65a4c6f0fc
parent06427ca09b2f3103a60b384345c81cb784e19956
nvme-tcp: use the tagset alloc/free helpers

Use the common helpers to allocate and free the tagsets.  To make this
work the generic nvme_ctrl now needs to be stored in the hctx private
data instead of the nvme_tcp_ctrl.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
drivers/nvme/host/tcp.c