+5
−0
+47
−0
+7
−0
+3
−0
+1
−0
Loading
Applications that enable interrupts for completion notification will register and unregister queue pair file descriptor with event source. These application also require other necessary details such as event source and file descriptor type during interrupt registration phase. Added APIs spdk_nvme_qpair_get_fd() and spdk_nvme_ctrlr_get_admin_qp_fd() to retrieve the file descriptor of an I/O and the admin queue pair of a given controller respectively. These APIs accept spdk_event_handler_opts which if specified, allows the transport layer to fill out event source and fd type. Change-Id: I5c24ae15ffc01afea879d0219e8721728cce592e Signed-off-by:Ankit Kumar <ankit.kumar@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/24906 Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Community-CI: Mellanox Build Bot Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>