5593b61f93
This patch separates filling wr->sg_list from filling req->iov in nvmf_rdma_fill_buffers() and create an new helper function nvmf_rdma_fill_wr_sgl() to fill wr->sg_list by adding iovcnt to struct spdk_nvmf_rdma_request. The next patch will do the same change for nvmf_rdma_fill_buffers_with_md_interleave(). The subsequent patches will merge nvmf_rdma_fill_buffers() into spdk_nvmf_request_get_buffers(). Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ia4cdf134df39997deb06522cbcb6af6666712ccc Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469203 Community-CI: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>