Home
last modified time | relevance | path

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

/net/xdp/
Dxsk_queue.h42 u32 cached_cons; member
116 if (q->cached_cons != q->cached_prod) { in xskq_cons_read_addr_unchecked()
117 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_addr_unchecked()
189 while (q->cached_cons != q->cached_prod) { in xskq_cons_read_desc()
191 u32 idx = q->cached_cons & q->ring_mask; in xskq_cons_read_desc()
197 q->cached_cons++; in xskq_cons_read_desc()
208 WRITE_ONCE(q->ring->consumer, q->cached_cons); in __xskq_cons_release()
226 u32 entries = q->cached_prod - q->cached_cons; in xskq_cons_has_entries()
232 entries = q->cached_prod - q->cached_cons; in xskq_cons_has_entries()
239 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_addr_unchecked()
[all …]