Home
last modified time | relevance | path

Searched refs:xdp_buff_xsk (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/include/net/
H A Dxdp_sock_drv.h75 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
82 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
110 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
112 struct xdp_buff_xsk *pos, *tmp; in xsk_buff_free()
129 struct xdp_buff_xsk *frag = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_add_frag()
136 struct xdp_buff_xsk *xsk in xsk_buff_get_frag()
[all...]
H A Dxsk_buff_pool.h24 struct xdp_buff_xsk { struct
35 #define XSK_CHECK_PRIV_TYPE(t) BUILD_BUG_ON(sizeof(t) > offsetofend(struct xdp_buff_xsk, cb))
69 struct xdp_buff_xsk *heads;
90 struct xdp_buff_xsk *free_heads[];
116 void xp_free(struct xdp_buff_xsk *xskb);
118 static inline void xp_init_xskb_addr(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_addr()
125 static inline void xp_init_xskb_dma(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_dma()
143 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
148 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
153 void xp_dma_sync_for_cpu_slow(struct xdp_buff_xsk *xsk
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dxsk_buff_pool.h21 struct xdp_buff_xsk { struct
62 struct xdp_buff_xsk *heads;
81 struct xdp_buff_xsk *free_heads[];
92 void xp_release(struct xdp_buff_xsk *xskb);
100 void xp_free(struct xdp_buff_xsk *xskb);
111 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
116 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
121 void xp_dma_sync_for_cpu_slow(struct xdp_buff_xsk *xskb);
122 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu()
H A Dxdp_sock_drv.h62 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
69 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
86 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
104 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
/kernel/linux/linux-6.6/net/xdp/
H A Dxsk_buff_pool.c60 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
401 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info()
489 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
491 struct xdp_buff_xsk *xskb; in __xp_alloc()
529 struct xdp_buff_xsk *xskb; in xp_alloc()
537 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
567 struct xdp_buff_xsk *xskb; in xp_alloc_new_from_fq()
600 struct xdp_buff_xsk *xskb; in xp_alloc_reused()
607 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, free_list_node); in xp_alloc_reused()
657 void xp_free(struct xdp_buff_xsk *xsk
[all...]
H A Dxsk.c139 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc()
158 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_rcv_zc()
160 struct xdp_buff_xsk *pos, *tmp; in xsk_rcv_zc()
232 struct xdp_buff_xsk *xskb; in __xsk_rcv()
249 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
287 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
/kernel/linux/linux-5.10/net/xdp/
H A Dxsk_buff_pool.c48 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
451 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
453 struct xdp_buff_xsk *xskb; in __xp_alloc()
494 struct xdp_buff_xsk *xskb; in xp_alloc()
502 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
527 void xp_free(struct xdp_buff_xsk *xskb) in xp_free()
550 void xp_dma_sync_for_cpu_slow(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu_slow()
H A Dxsk.c136 void xp_release(struct xdp_buff_xsk *xskb) in xp_release()
141 static u64 xp_get_handle(struct xdp_buff_xsk *xskb) in xp_get_handle()
153 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv_zc()

Completed in 7 milliseconds