| 52 | } |
| 53 | |
| 54 | static inline void |
| 55 | virtio_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 | |
| 63 | static inline uint16_t |
| 64 | virtqueue_fetch_flags_packed(struct vring_packed_desc *dp, |
no test coverage detected