Home
last modified time | relevance | path

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

/net/xdp/
Dxsk_queue.h34 struct xsk_queue { struct
91 static inline u64 xskq_nb_invalid_descs(struct xsk_queue *q) in xskq_nb_invalid_descs()
96 static inline u32 xskq_nb_avail(struct xsk_queue *q, u32 dcnt) in xskq_nb_avail()
109 static inline u32 xskq_nb_free(struct xsk_queue *q, u32 producer, u32 dcnt) in xskq_nb_free()
121 static inline bool xskq_has_addrs(struct xsk_queue *q, u32 cnt) in xskq_has_addrs()
148 static inline bool xskq_is_valid_addr(struct xsk_queue *q, u64 addr) in xskq_is_valid_addr()
158 static inline bool xskq_is_valid_addr_unaligned(struct xsk_queue *q, u64 addr, in xskq_is_valid_addr_unaligned()
174 static inline u64 *xskq_validate_addr(struct xsk_queue *q, u64 *addr, in xskq_validate_addr()
201 static inline u64 *xskq_peek_addr(struct xsk_queue *q, u64 *addr, in xskq_peek_addr()
216 static inline void xskq_discard_addr(struct xsk_queue *q) in xskq_discard_addr()
[all …]
Dxsk_queue.c12 void xskq_set_umem(struct xsk_queue *q, u64 size, u64 chunk_mask) in xskq_set_umem()
21 static u32 xskq_umem_get_ring_size(struct xsk_queue *q) in xskq_umem_get_ring_size()
26 static u32 xskq_rxtx_get_ring_size(struct xsk_queue *q) in xskq_rxtx_get_ring_size()
31 struct xsk_queue *xskq_create(u32 nentries, bool umem_queue) in xskq_create()
33 struct xsk_queue *q; in xskq_create()
59 void xskq_destroy(struct xsk_queue *q) in xskq_destroy()
DMakefile2 obj-$(CONFIG_XDP_SOCKETS) += xsk.o xdp_umem.o xsk_queue.o
Dxsk.c460 static int xsk_init_queue(u32 entries, struct xsk_queue **queue, in xsk_init_queue()
463 struct xsk_queue *q; in xsk_init_queue()
753 struct xsk_queue **q; in xsk_setsockopt()
809 struct xsk_queue **q; in xsk_setsockopt()
973 struct xsk_queue *q = NULL; in xsk_mmap()
Dxsk_diag.c26 static int xsk_diag_put_ring(const struct xsk_queue *queue, int nl_type, in xsk_diag_put_ring()