Home
last modified time | relevance | path

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

/Linux-v6.6/include/net/
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 *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_frag()
138 struct xdp_buff_xsk *frag; in xsk_buff_get_frag()
141 struct xdp_buff_xsk, xskb_list_node); in xsk_buff_get_frag()
170 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
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)) argument
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 *xskb);
[all …]
/Linux-v6.6/net/xdp/
Dxsk_buff_pool.c60 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
398 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info()
486 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
488 struct xdp_buff_xsk *xskb; in __xp_alloc()
526 struct xdp_buff_xsk *xskb; in xp_alloc()
534 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
563 struct xdp_buff_xsk *xskb; in xp_alloc_new_from_fq()
596 struct xdp_buff_xsk *xskb; in xp_alloc_reused()
603 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, free_list_node); in xp_alloc_reused()
653 void xp_free(struct xdp_buff_xsk *xskb) in xp_free()
[all …]
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()
228 struct xdp_buff_xsk *xskb; in __xsk_rcv()
245 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
283 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()