+16
−14
Loading
Try to do the same as DPDK does: volatile write on used->idx and memory barier before reading avail->flags. Change-Id: Ibe4629a8228a02088913593ac9b32de56a60b062 Signed-off-by:Pawel Wodkowski <pawelx.wodkowski@intel.com> Reviewed-on: https://review.gerrithub.io/373578 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>