numam-spdk/lib/nvmf
Ziye Yang 24eb7a84b0 nvme/tcp: fix the iov vector count.
Since we use pdu->data_iovcnt to
build the iov in nvme_tcp_build_iovs, so
send out pdu has the maximal iov number
equals to: 2 + pdu->data_iovcnt,
so we change the comparison.

This makes sure that we can handle all the data
owned by one pdu.

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: I2b9258cc5716d706c0fa38af609726c439708768
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467207
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Broadcom SPDK FC-NVMe CI <spdk-ci.pdl@broadcom.com>
2019-09-09 02:08:31 +00:00
..
ctrlr_bdev.c nvmf: Add BDEV IO pending statistics 2019-07-12 12:46:29 +00:00
ctrlr_discovery.c nvmf: don't keep a global discovery log page. 2019-09-03 00:30:59 +00:00
ctrlr.c nvmf: Delay sending AER until subsystem resumes 2019-08-14 21:24:27 +00:00
fc_ls.c nvmf/fc: Move pending_data_buf_queue from fc_conn to fc_poll_group 2019-09-09 00:42:22 +00:00
fc.c nvmf: Move pending_data_buf_queue to common struct spdk_nvmf_transport_poll_group 2019-09-09 00:42:22 +00:00
Makefile lib/nvmf: extract RPCs from the subsystem directory 2019-08-21 17:20:28 +00:00
nvmf_fc.h nvmf: Move pending_data_buf_queue to common struct spdk_nvmf_transport_poll_group 2019-09-09 00:42:22 +00:00
nvmf_internal.h nvmf: Move pending_data_buf_queue to common struct spdk_nvmf_transport_poll_group 2019-09-09 00:42:22 +00:00
nvmf_rpc.c rpc/nvmf: add tgt_name options to relevant RPCs. 2019-08-21 17:20:28 +00:00
nvmf.c nvmf: don't keep a global discovery log page. 2019-09-03 00:30:59 +00:00
rdma.c nvmf: Move pending_data_buf_queue to common struct spdk_nvmf_transport_poll_group 2019-09-09 00:42:22 +00:00
subsystem.c nvmf: spdk_nvmf_subsystem_remove_ns is no longer asynchronous 2019-07-11 11:19:53 +00:00
tcp.c nvme/tcp: fix the iov vector count. 2019-09-09 02:08:31 +00:00
transport.c nvmf: Move pending_data_buf_queue to common struct spdk_nvmf_transport_poll_group 2019-09-09 00:42:22 +00:00
transport.h NVMe-oF Target: Add FC transport. 2019-07-26 22:17:17 +00:00