+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> Change-Id: Ie83c807dd3fec2c7e7cbcda1e493d6fd74ebe599 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17006 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Shuhei Matsumoto <smatsumoto@nvidia.com>