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

Function iq_init

dpdk/drivers/event/sw/iq_chunk.h:56–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56static __rte_always_inline void
57iq_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
66static __rte_always_inline void
67iq_enqueue(struct sw_evdev *sw, struct sw_iq *iq, const struct rte_event *ev)

Callers 1

sw_init_qid_iqsFunction · 0.85

Calls 1

iq_alloc_chunkFunction · 0.85

Tested by

no test coverage detected