+13
−16
Loading
Since there may be race condition, num_events gotten from kickfd is not always right to reflect the number of requests in virtqueue. So remove this check. Instead, avail_idx in memory reflects the real situation whether there is unprocessed requests in queue. Change-Id: I4e59242cf3101ece912777533411bc4dcdc81c9d Signed-off-by:Liu Xiaodong <xiaodong.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5787 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>