+5
−9
Loading
wr->num_sge has to be used in spdk_nvmf_rdma_request_fill_iovs(), and memset() can be used instead of clearing each variable. Besides, holding cached pointer to the current WR simplifies the code a little and so is done together in this patch. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Iebda158f85e3a0e3046686f76991217fa7297c24 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/469198 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Seth Howell <seth.howell@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Alexey Marchuk <alexeymar@mellanox.com>