+10
−19
Loading
Currently, queue creation is delegated to nvmf_vfio_user_accept() for both I/O and admin queues, by adding it to a ->new_qps list. But there's no good reason for this indirection to exist, and it would make interrupt support for the accept poller harder to implement. Instead, directly call spdk_nvmf_tgt_new_qpair(). Signed-off-by:John Levon <john.levon@nutanix.com> Change-Id: I182bfac9c621eda2f746201db7022ab6fce1bf30 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9053 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>