Home
last modified time | relevance | path

Searched refs:prod_tail (Results 1 – 1 of 1) sorted by relevance

/net/xdp/
Dxsk_queue.h40 u32 prod_tail; member
98 u32 entries = q->prod_tail - q->cons_tail; in xskq_nb_avail()
102 q->prod_tail = READ_ONCE(q->ring->producer); in xskq_nb_avail()
103 entries = q->prod_tail - q->cons_tail; in xskq_nb_avail()
123 u32 entries = q->prod_tail - q->cons_tail; in xskq_has_addrs()
129 q->prod_tail = READ_ONCE(q->ring->producer); in xskq_has_addrs()
130 entries = q->prod_tail - q->cons_tail; in xskq_has_addrs()
225 if (xskq_nb_free(q, q->prod_tail, 1) == 0) in xskq_produce_addr()
229 ring->desc[q->prod_tail++ & q->ring_mask] = addr; in xskq_produce_addr()
234 WRITE_ONCE(q->ring->producer, q->prod_tail); in xskq_produce_addr()
[all …]