idx++;
}
- rte_smp_wmb();
- vq->used->idx = idx_m;
+ /* used idx is the synchronization point for the split vring */
+ __atomic_store_n(&vq->used->idx, idx_m, __ATOMIC_RELEASE);
if (dev->features & (1ULL << VIRTIO_RING_F_EVENT_IDX))
vring_used_event(s_vring) = idx_m;