Home
last modified time | relevance | path

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

/net/xdp/
Dxsk_queue.h41 u32 cached_prod; member
116 if (q->cached_cons != q->cached_prod) { in xskq_cons_read_addr_unchecked()
189 while (q->cached_cons != q->cached_prod) { in xskq_cons_read_desc()
214 q->cached_prod = READ_ONCE(q->ring->producer); in __xskq_cons_peek()
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()
248 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_desc()
280 u32 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()
287 free_entries = q->nentries - (q->cached_prod - q->cached_cons); in xskq_prod_is_full()
[all …]