+56
−71
Loading
When creating queue pairs, the original code uses a stack queue variable and copy it to queue pair in insert_queue function, the coming changes in libvfio-user doesn't expose dma_sg_t data structure any more, we need to change it to a pointer and allocate memory for it, so here we eliminate insert_queue function as a preparation. Change-Id: Iee94029d24bc8882ec169665e229e6cbc11564c0 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8376 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
<dongx.yi@intel.com>