+2
−0
+76
−2
Loading
In poll mode the process completion API checks for the disconnected queue pair and calls the specified disconnected_qpair_cb function. In interrupt mode we need a way to notify the application in case of disconnected queue pair. Register an eventfd to the epoll file descriptor of nvme poll group. This fd will be written after a queue pair disconnection. Thus the next event on poll group will handle the queue pair disconnection. Change-Id: I481eeb847c22e710d8e9705c4ea3e9267da93876 Signed-off-by:Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25387 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>