+36
−4
Loading
RDMA WR has a predefined number of SGL entries (16) and with new logic added to support DIF the number of entries required to process the request may exceed this limit since IO unit buffers might be divided into several parts to remove metadata chunks from the transmition. This change calculates and allocates required number of WRs. Error handling section in spdk_nvmf_rdma_request_fill_iovs has been updated to free allocated WRs Change-Id: Ie5d659d8305a454949827d1f4aff6d871b7e825d Signed-off-by:Alexey Marchuk <alexeymar@mellanox.com> Signed-off-by:
Sasha Kotchubievsky <sashakot@mellanox.com> Signed-off-by:
Evgenii Kochetov <evgeniik@mellanox.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/470474 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>