+10
−10
Loading
NVME TCP driver supports up to 16 sge elements while only 1 sge is reported - that leads to unnecessary requests split which degrades perf. Also pass correct iovcnt to nvme_tcp_build_iovs - it should be 32. Otherwise, pdu header consumes 1 iov and data is written partially. Add a check that at least data_len bytes were appended to the socket iovs and fail request otherwise. Signed-off-by:Alexey Marchuk <alexeymar@nvidia.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17006 (master) (cherry picked from commit ada93334) Change-Id: Ie83c807dd3fec2c7e7cbcda1e493d6fd74ebe599 Signed-off-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17699 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>