+18
−1
Loading
Offer a boolean option named "enable_interrupts" to use the spdk engine in interrupt mode, versus the traditional polling mode. Polling mode (enable_interrupts = 0) remains the default setting. Per the check in spdk_nvme_ctrlr_alloc_io_qpair(), we have to disable the Queue Pair option "delay_cmd_submit" if the enable interrupts on the controller. Change-Id: If0fead1cce8405544ab30648e74c402c9ba10130 Signed-off-by:Eric Gouriou <egouriou@google.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/25651 Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Tom Nabarro <tom.nabarro@intel.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Ankit Kumar <ankit.kumar@samsung.com>