numam-spdk/lib/nvme
Ziye Yang 5391b29c79 nvme/tcp: Fix the issue of handling send pdu failure
Previously, if the return value of nvme_tcp_qpair_process_send_queue
is not zero, we directly return but not continue receiving the pdu.
But this is wrong, we should only handle the case when the
return value is negative.

Reported-by: Or Gerlitz <ogerlitz@mellanox.com>

Signed-off-by: Ziye Yang <ziye.yang@intel.com>
Change-Id: I83453733f5a3e3350a0461b4cb0bc409fde32fea
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/455899
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-06-05 01:44:49 +00:00
..
Makefile Opal: Add Opal library 2019-04-08 17:04:25 +00:00
nvme_ctrlr_cmd.c nvme: add qpair parameter to nvme_complete_request 2019-05-22 14:51:01 +00:00
nvme_ctrlr_ocssd_cmd.c ocssd: hold lock when calling nvme_ctrlr_submit_admin_request 2019-02-15 21:27:58 +00:00
nvme_ctrlr.c nvme: add spdk_nvme_ctrlr_get_registers implementation 2019-05-30 22:38:27 +00:00
nvme_fabric.c nvme: introduce probe context data structure and API 2019-02-15 03:14:20 +00:00
nvme_internal.h nvme: assign qpair when req is allocated 2019-06-04 00:01:35 +00:00
nvme_ns_cmd.c nvme: explicitly mark _nvme_ns_cmd_rw as inline 2019-06-03 03:11:08 +00:00
nvme_ns_ocssd_cmd.c vtophys: add length parameter to the vtophys function 2019-01-09 08:24:59 +00:00
nvme_ns.c nvme: make identify NS id descriptors can be executed asynchronously 2018-10-15 17:57:56 +00:00
nvme_opal_internal.h Opal: add take ownership cmd options 2019-04-24 22:40:04 +00:00
nvme_opal.c Opal: Add revert tper cmd option 2019-04-25 18:20:42 +00:00
nvme_pcie.c nvme: prefetch stailq before freeing pcie request 2019-06-04 00:01:35 +00:00
nvme_qpair.c nvme: assign qpair when req is allocated 2019-06-04 00:01:35 +00:00
nvme_quirks.c nvme: add SHST_COMPLETE quirk for VMWare emulated SSDs 2019-02-27 01:46:32 +00:00
nvme_rdma.c nvme: add qpair parameter to nvme_complete_request 2019-05-22 14:51:01 +00:00
nvme_tcp.c nvme/tcp: Fix the issue of handling send pdu failure 2019-06-05 01:44:49 +00:00
nvme_transport.c nvme: add qpair is_connecting flag 2019-05-14 08:48:11 +00:00
nvme_uevent.c nvme: add vfio driver parse event 2019-05-29 02:36:41 +00:00
nvme_uevent.h nvme: Add support of hotplug for vfio-attached devices. 2017-12-06 17:04:49 -05:00
nvme.c nvme: Support multiple spdk_nvme_connect to same device 2019-05-13 15:40:36 +00:00