MCPcopy Create free account
hub / github.com/F-Stack/f-stack / virtio_wmb

Function virtio_wmb

dpdk/drivers/net/virtio/virtqueue.h:54–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static inline void
55virtio_wmb(uint8_t weak_barriers)
56{
57 if (weak_barriers)
58 rte_atomic_thread_fence(__ATOMIC_RELEASE);
59 else
60 rte_io_wmb();
61}
62
63static inline uint16_t
64virtqueue_fetch_flags_packed(struct vring_packed_desc *dp,

Callers 2

vq_update_avail_idxFunction · 0.85

Calls 1

rte_atomic_thread_fenceFunction · 0.50

Tested by

no test coverage detected