From 432e5f655e9007953a73c8bacad0508f3d041966 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 3 May 2018 12:13:09 -0700 Subject: [PATCH] nvmf: support transport data block SGL in get_xfer Transport Data Block descriptors aren't actually used by the RDMA transport, but this function will likely be used by other transports in the future. Change-Id: Ic2b6a1f3a86e350c7b7258d75964a38338bdd3b5 Signed-off-by: Daniel Verkamp Reviewed-on: https://review.gerrithub.io/409940 Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Shuhei Matsumoto --- lib/nvmf/rdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nvmf/rdma.c b/lib/nvmf/rdma.c index 862c24cf1a..8273c25dad 100644 --- a/lib/nvmf/rdma.c +++ b/lib/nvmf/rdma.c @@ -848,6 +848,7 @@ spdk_nvmf_rdma_request_get_xfer(struct spdk_nvmf_rdma_request *rdma_req) case SPDK_NVME_SGL_TYPE_BIT_BUCKET: case SPDK_NVME_SGL_TYPE_SEGMENT: case SPDK_NVME_SGL_TYPE_LAST_SEGMENT: + case SPDK_NVME_SGL_TYPE_TRANSPORT_DATA_BLOCK: if (sgl->unkeyed.length == 0) { xfer = SPDK_NVME_DATA_NONE; }