numam-spdk/lib/nvmf
Philipp Skadorov 6d98264552 nvmf/rdma: decrement r/w counter if ibv_post_send fails
The outstanding r/w requests counter is not decremented
back if IB r/w request fails.

As the result, the rdma qpair stops pumping the requests
after the number of ibv_post_send failures reaches
the threshold for outstanding r/w requests for that qpair.

The patch decrements qpair's r/w counter back in case of
ibv_post_send returns an error.

Change-Id: I8fa0f2905974a50037034962e4d2a001290a06a9
Signed-off-by: Philipp Skadorov <philipp.skadorov@wdc.com>
Reviewed-on: https://review.gerrithub.io/391799
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-12-15 16:42:51 -05:00
..
ctrlr_bdev.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr_discovery.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
ctrlr.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
Makefile nvmf: Rename spdk_nvmf_session to spdk_nvmf_ctrlr 2017-08-08 13:46:48 -04:00
nvmf_internal.h nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
nvmf.c nvmf: Add public interface of remove ns from subsystem. 2017-12-15 16:14:02 -05:00
rdma.c nvmf/rdma: decrement r/w counter if ibv_post_send fails 2017-12-15 16:42:51 -05:00
request.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
subsystem.c nvmf: add support of hotplug for nvmf. 2017-12-15 16:14:02 -05:00
transport.c nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00
transport.h nvmf: Remove poll group from controller 2017-12-12 15:01:17 -05:00