| 54 | } |
| 55 | |
| 56 | static __rte_always_inline void |
| 57 | iq_init(struct sw_evdev *sw, struct sw_iq *iq) |
| 58 | { |
| 59 | iq->head = iq_alloc_chunk(sw); |
| 60 | iq->tail = iq->head; |
| 61 | iq->head_idx = 0; |
| 62 | iq->tail_idx = 0; |
| 63 | iq->count = 0; |
| 64 | } |
| 65 | |
| 66 | static __rte_always_inline void |
| 67 | iq_enqueue(struct sw_evdev *sw, struct sw_iq *iq, const struct rte_event *ev) |
no test coverage detected