Home
last modified time | relevance | path

Searched refs:xdp_buff_xsk (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/include/net/
Dxdp_sock_drv.h87 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
94 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
122 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
124 struct xdp_buff_xsk *pos, *tmp; in xsk_buff_free()
141 struct xdp_buff_xsk *frag = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_add_frag()
148 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_frag()
150 struct xdp_buff_xsk *frag; in xsk_buff_get_frag()
153 struct xdp_buff_xsk, xskb_list_node); in xsk_buff_get_frag()
164 struct xdp_buff_xsk *xskb = container_of(tail, struct xdp_buff_xsk, xdp); in xsk_buff_del_tail()
171 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_tail()
[all …]
Dxsk_buff_pool.h25 struct xdp_buff_xsk { struct
36 #define XSK_CHECK_PRIV_TYPE(t) BUILD_BUG_ON(sizeof(t) > offsetofend(struct xdp_buff_xsk, cb)) argument
70 struct xdp_buff_xsk *heads;
92 struct xdp_buff_xsk *free_heads[];
118 void xp_free(struct xdp_buff_xsk *xskb);
120 static inline void xp_init_xskb_addr(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_addr()
127 static inline void xp_init_xskb_dma(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_dma()
146 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
151 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
156 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu()
[all …]
/linux-6.12.1/net/xdp/
Dxsk_buff_pool.c60 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
133 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_fill_cb()
419 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info()
504 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
506 struct xdp_buff_xsk *xskb; in __xp_alloc()
544 struct xdp_buff_xsk *xskb; in xp_alloc()
552 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
580 struct xdp_buff_xsk *xskb; in xp_alloc_new_from_fq()
613 struct xdp_buff_xsk *xskb; in xp_alloc_reused()
620 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, free_list_node); in xp_alloc_reused()
[all …]
Dxsk.c138 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc()
157 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_rcv_zc()
159 struct xdp_buff_xsk *pos, *tmp; in xsk_rcv_zc()
231 struct xdp_buff_xsk *xskb; in __xsk_rcv()
248 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
286 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()