summaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/configfs.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@lightbitslabs.com>2018-12-04 02:52:16 +0100
committerChristoph Hellwig <hch@lst.de>2018-12-13 09:58:58 +0100
commitad4f530e95a7b88a332035b9e0c5384441356576 (patch)
tree2a648e2edbbcd473bec219e5e19068c5fde97f21 /drivers/nvme/target/configfs.c
parentnvmet-tcp: add NVMe over TCP target driver (diff)
downloadlinux-ad4f530e95a7b88a332035b9e0c5384441356576.tar.xz
linux-ad4f530e95a7b88a332035b9e0c5384441356576.zip
nvmet: allow configfs tcp trtype configuration
Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/target/configfs.c')
-rw-r--r--drivers/nvme/target/configfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvme/target/configfs.c b/drivers/nvme/target/configfs.c
index db2cb64be7ba..618bbd006544 100644
--- a/drivers/nvme/target/configfs.c
+++ b/drivers/nvme/target/configfs.c
@@ -34,6 +34,7 @@ static const struct nvmet_transport_name {
} nvmet_transport_names[] = {
{ NVMF_TRTYPE_RDMA, "rdma" },
{ NVMF_TRTYPE_FC, "fc" },
+ { NVMF_TRTYPE_TCP, "tcp" },
{ NVMF_TRTYPE_LOOP, "loop" },
};