Home
last modified time | relevance | path

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

/openbmc/linux/net/xdp/
H A Dxsk_queue.h40 struct xsk_queue { struct
189 static inline bool xskq_has_descs(struct xsk_queue *q) in xskq_has_descs()
205 static inline bool xskq_cons_read_desc(struct xsk_queue *q, in xskq_cons_read_desc()
276 static inline void __xskq_cons_release(struct xsk_queue *q) in __xskq_cons_release()
281 static inline void __xskq_cons_peek(struct xsk_queue *q) in __xskq_cons_peek()
331 static inline void xskq_cons_release(struct xsk_queue *q) in xskq_cons_release()
363 static inline bool xskq_prod_is_full(struct xsk_queue *q) in xskq_prod_is_full()
373 static inline int xskq_prod_reserve(struct xsk_queue *q) in xskq_prod_reserve()
431 static inline void xskq_prod_submit(struct xsk_queue *q) in xskq_prod_submit()
441 static inline bool xskq_prod_is_empty(struct xsk_queue *q) in xskq_prod_is_empty()
[all …]
H A Dxsk_queue.c14 static size_t xskq_get_ring_size(struct xsk_queue *q, bool umem_queue) in xskq_get_ring_size()
24 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue) in xskq_create()
26 struct xsk_queue *q; in xskq_create()
59 void xskq_destroy(struct xsk_queue *q) in xskq_destroy()
H A DMakefile2 obj-$(CONFIG_XDP_SOCKETS) += xsk.o xdp_umem.o xsk_queue.o xskmap.o
H A Dxsk_diag.c26 static int xsk_diag_put_ring(const struct xsk_queue *queue, int nl_type, in xsk_diag_put_ring()
H A Dxsk.c948 static int xsk_init_queue(u32 entries, struct xsk_queue **queue, in xsk_init_queue()
951 struct xsk_queue *q; in xsk_init_queue()
1276 struct xsk_queue **q; in xsk_setsockopt()
1332 struct xsk_queue **q; in xsk_setsockopt()
1517 struct xsk_queue *q = NULL; in xsk_mmap()
/openbmc/linux/include/net/
H A Dxdp_sock.h20 struct xsk_queue;
50 struct xsk_queue *rx ____cacheline_aligned_in_smp;
64 struct xsk_queue *tx ____cacheline_aligned_in_smp;
84 struct xsk_queue *fq_tmp; /* Only as tmp storage before bind */
85 struct xsk_queue *cq_tmp; /* Only as tmp storage before bind */
H A Dxsk_buff_pool.h15 struct xsk_queue;
63 struct xsk_queue *fq ____cacheline_aligned_in_smp;
64 struct xsk_queue *cq;