Searched refs:xsk_queue (Results 1 – 7 of 7) sorted by relevance
/linux-5.19.10/net/xdp/ |
D | xsk_queue.h | 40 struct xsk_queue { struct 114 static inline void __xskq_cons_read_addr_unchecked(struct xsk_queue *q, u32 cached_cons, u64 *addr) in __xskq_cons_read_addr_unchecked() 122 static inline bool xskq_cons_read_addr_unchecked(struct xsk_queue *q, u64 *addr) in xskq_cons_read_addr_unchecked() 179 static inline bool xskq_cons_is_valid_desc(struct xsk_queue *q, in xskq_cons_is_valid_desc() 190 static inline bool xskq_cons_read_desc(struct xsk_queue *q, in xskq_cons_read_desc() 208 static inline u32 xskq_cons_read_desc_batch(struct xsk_queue *q, struct xsk_buff_pool *pool, in xskq_cons_read_desc_batch() 234 static inline void __xskq_cons_release(struct xsk_queue *q) in __xskq_cons_release() 239 static inline void __xskq_cons_peek(struct xsk_queue *q) in __xskq_cons_peek() 245 static inline void xskq_cons_get_entries(struct xsk_queue *q) in xskq_cons_get_entries() 251 static inline u32 xskq_cons_nb_entries(struct xsk_queue *q, u32 max) in xskq_cons_nb_entries() [all …]
|
D | xsk_queue.c | 13 static size_t xskq_get_ring_size(struct xsk_queue *q, bool umem_queue) in xskq_get_ring_size() 23 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue) in xskq_create() 25 struct xsk_queue *q; in xskq_create() 50 void xskq_destroy(struct xsk_queue *q) in xskq_destroy()
|
D | Makefile | 2 obj-$(CONFIG_XDP_SOCKETS) += xsk.o xdp_umem.o xsk_queue.o xskmap.o
|
D | xsk.c | 737 static int xsk_init_queue(u32 entries, struct xsk_queue **queue, in xsk_init_queue() 740 struct xsk_queue *q; in xsk_init_queue() 1056 struct xsk_queue **q; in xsk_setsockopt() 1112 struct xsk_queue **q; in xsk_setsockopt() 1294 struct xsk_queue *q = NULL; in xsk_mmap()
|
D | xsk_diag.c | 26 static int xsk_diag_put_ring(const struct xsk_queue *queue, int nl_type, in xsk_diag_put_ring()
|
/linux-5.19.10/include/net/ |
D | xdp_sock.h | 18 struct xsk_queue; 47 struct xsk_queue *rx ____cacheline_aligned_in_smp; 60 struct xsk_queue *tx ____cacheline_aligned_in_smp; 74 struct xsk_queue *fq_tmp; /* Only as tmp storage before bind */ 75 struct xsk_queue *cq_tmp; /* Only as tmp storage before bind */
|
D | xsk_buff_pool.h | 15 struct xsk_queue; 56 struct xsk_queue *fq ____cacheline_aligned_in_smp; 57 struct xsk_queue *cq;
|