+17
−12
Loading
Multiple IO Submission Queue can share one Completion Queue, and we use field 'cqid' to save it in Submission Queue, so when posting completion response, we need to get the Submission Queue's CQID first, then post the completion queue based on CQID. Also rename vfio-user internal variables with 'vu_' prefix in this function. Change-Id: Ib73b91a86740d105b5fb5c73127484ebfb6b55ef Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8969 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Thanos Makatos <thanos.makatos@nutanix.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>