e45b619c3d
While it is unlikely that a single qpair will be failed, it is important to make it possible to reconnect a single qpair. This function is also handy at the application layer when going through a reconnect workflow. If we get -ENXIO from a qpair when we poll, we will turn around and call this function. If we get -ENXIO from this function, then we know the whole controller is failed and we need to do a reset. Change-Id: I6a8ea0ce27fce2f5fc0a5b3db05834acd68e6a39 Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471417 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Alexey Marchuk <alexeymar@mellanox.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>