Home
last modified time | relevance | path

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

/net/xdp/
Dxsk_queue.h42 u32 cons_tail; member
98 u32 entries = q->prod_tail - q->cons_tail; in xskq_nb_avail()
103 entries = q->prod_tail - q->cons_tail; in xskq_nb_avail()
111 u32 free_entries = q->nentries - (producer - q->cons_tail); in xskq_nb_free()
117 q->cons_tail = READ_ONCE(q->ring->consumer); in xskq_nb_free()
118 return q->nentries - (producer - q->cons_tail); in xskq_nb_free()
123 u32 entries = q->prod_tail - q->cons_tail; in xskq_has_addrs()
130 entries = q->prod_tail - q->cons_tail; in xskq_has_addrs()
177 while (q->cons_tail != q->cons_head) { in xskq_validate_addr()
179 unsigned int idx = q->cons_tail & q->ring_mask; in xskq_validate_addr()
[all …]