nvmet: allow configfs tcp trtype configuration
authorSagi Grimberg <sagi@lightbitslabs.com>
Tue, 4 Dec 2018 01:52:16 +0000 (17:52 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Dec 2018 08:58:58 +0000 (09:58 +0100)
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@lightbitslabs.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/configfs.c

index db2cb64be7ba3bb7d70ee38675bd0a4a1f5782aa..618bbd0065443422e5c278364b7b82fae0c6f491 100644 (file)
@@ -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" },
 };