Home
last modified time | relevance | path

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

/openbmc/linux/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 *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()
152 struct xdp_buff_xsk *xskb = container_of(tail, struct xdp_buff_xsk, xdp); in xsk_buff_del_tail()
159 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_tail()
160 struct xdp_buff_xsk *frag; in xsk_buff_get_tail()
[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)) argument
69 struct xdp_buff_xsk *heads;
90 struct xdp_buff_xsk *free_heads[];
116 void xp_free(struct xdp_buff_xsk *xskb);
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);
154 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu()
220 static inline void xp_release(struct xdp_buff_xsk *xskb) in xp_release()
[all …]
/openbmc/linux/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 *xskb) in xp_free()
[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()