Lines Matching refs:xsk_queue
40 struct xsk_queue {
120 static inline void __xskq_cons_read_addr_unchecked(struct xsk_queue *q, u32 cached_cons, u64 *addr)
128 static inline bool xskq_cons_read_addr_unchecked(struct xsk_queue *q, u64 *addr)
189 static inline bool xskq_has_descs(struct xsk_queue *q)
194 static inline bool xskq_cons_is_valid_desc(struct xsk_queue *q,
205 static inline bool xskq_cons_read_desc(struct xsk_queue *q,
221 static inline void xskq_cons_release_n(struct xsk_queue *q, u32 cnt)
226 static inline void parse_desc(struct xsk_queue *q, struct xsk_buff_pool *pool,
234 u32 xskq_cons_read_desc_batch(struct xsk_queue *q, struct xsk_buff_pool *pool,
276 static inline void __xskq_cons_release(struct xsk_queue *q)
281 static inline void __xskq_cons_peek(struct xsk_queue *q)
287 static inline void xskq_cons_get_entries(struct xsk_queue *q)
293 static inline u32 xskq_cons_nb_entries(struct xsk_queue *q, u32 max)
306 static inline bool xskq_cons_has_entries(struct xsk_queue *q, u32 cnt)
311 static inline bool xskq_cons_peek_addr_unchecked(struct xsk_queue *q, u64 *addr)
318 static inline bool xskq_cons_peek_desc(struct xsk_queue *q,
331 static inline void xskq_cons_release(struct xsk_queue *q)
336 static inline void xskq_cons_cancel_n(struct xsk_queue *q, u32 cnt)
341 static inline u32 xskq_cons_present_entries(struct xsk_queue *q)
349 static inline u32 xskq_prod_nb_free(struct xsk_queue *q, u32 max)
363 static inline bool xskq_prod_is_full(struct xsk_queue *q)
368 static inline void xskq_prod_cancel_n(struct xsk_queue *q, u32 cnt)
373 static inline int xskq_prod_reserve(struct xsk_queue *q)
383 static inline int xskq_prod_reserve_addr(struct xsk_queue *q, u64 addr)
395 static inline void xskq_prod_write_addr_batch(struct xsk_queue *q, struct xdp_desc *descs,
408 static inline int xskq_prod_reserve_desc(struct xsk_queue *q,
426 static inline void __xskq_prod_submit(struct xsk_queue *q, u32 idx)
431 static inline void xskq_prod_submit(struct xsk_queue *q)
436 static inline void xskq_prod_submit_n(struct xsk_queue *q, u32 nb_entries)
441 static inline bool xskq_prod_is_empty(struct xsk_queue *q)
449 static inline u64 xskq_nb_invalid_descs(struct xsk_queue *q)
454 static inline u64 xskq_nb_queue_empty_descs(struct xsk_queue *q)
459 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue);
460 void xskq_destroy(struct xsk_queue *q_ops);