aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/nvmet.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@lightbitslabs.com>2018-12-03 17:52:11 -0800
committerChristoph Hellwig <hch@lst.de>2018-12-13 09:58:55 +0100
commit1672ddb8d691e4433806373ec4104f37a86efab0 (patch)
tree7484da0625817b0d42d83b05fbd41d783a39b425 /drivers/nvme/target/nvmet.h
parentdatagram: introduce skb_copy_and_hash_datagram_iter helper (diff)
downloadlinux-dev-1672ddb8d691e4433806373ec4104f37a86efab0.tar.xz
linux-dev-1672ddb8d691e4433806373ec4104f37a86efab0.zip
nvmet: Add install_queue callout
nvmet-tcp will implement it to allocate queue commands which are only known at nvmf connect time (sq size). Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/nvmet.h')
-rw-r--r--drivers/nvme/target/nvmet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/nvmet.h b/drivers/nvme/target/nvmet.h
index 7d8b7a7d572a..89df51ee5bdf 100644
--- a/drivers/nvme/target/nvmet.h
+++ b/drivers/nvme/target/nvmet.h
@@ -279,6 +279,7 @@ struct nvmet_fabrics_ops {
void (*delete_ctrl)(struct nvmet_ctrl *ctrl);
void (*disc_traddr)(struct nvmet_req *req,
struct nvmet_port *port, char *traddr);
+ u16 (*install_queue)(struct nvmet_sq *nvme_sq);
};
#define NVMET_MAX_INLINE_BIOVEC 8