Home
last modified time | relevance | path

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

/linux/include/net/
H A Dxdp_sock_drv.h108 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
115 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
143 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
145 struct xdp_buff_xsk *pos, *tmp; in xsk_buff_free()
164 struct xdp_buff_xsk *frag; in xsk_buff_add_frag()
171 frag = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_add_frag()
179 struct xdp_buff_xsk *xskb = container_of(first, struct xdp_buff_xsk, xdp); in xsk_buff_get_frag()
181 struct xdp_buff_xsk *frag; in xsk_buff_get_frag()
184 struct xdp_buff_xsk, list_node); in xsk_buff_get_frag()
195 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_del_frag()
[all …]
H A Dxsk_buff_pool.h25 struct xdp_buff_xsk { struct
34 #define XSK_CHECK_PRIV_TYPE(t) BUILD_BUG_ON(sizeof(t) > offsetofend(struct xdp_buff_xsk, cb)) argument
70 struct xdp_buff_xsk *heads;
93 struct xdp_buff_xsk *free_heads[];
119 void xp_free(struct xdp_buff_xsk *xskb);
121 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()
154 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
159 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
164 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xsk
[all...]
/linux/net/xdp/
H A Dxsk_buff_pool.c59 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
133 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_fill_cb()
440 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info()
528 static struct xdp_buff_xsk *xp_get_xskb(struct xsk_buff_pool *pool, u64 addr) in xp_get_xskb()
530 struct xdp_buff_xsk *xskb; in xp_get_xskb()
544 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
546 struct xdp_buff_xsk *xskb; in __xp_alloc()
577 struct xdp_buff_xsk *xskb; in xp_alloc()
585 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
613 struct xdp_buff_xsk *xskb; in xp_alloc_new_from_fq()
[all …]
H A Dxsk.c190 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc()
207 static void __xsk_rcv_zc_safe(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, in __xsk_rcv_zc_safe()
220 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_rcv_zc()
222 struct xdp_buff_xsk *pos, *tmp; in xsk_rcv_zc()
300 struct xdp_buff_xsk *xskb; in __xsk_rcv()
317 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
355 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
/linux/include/net/libeth/
H A Dxdp.h31 (IS_ALIGNED(sizeof(struct xdp_buff_xsk), 16) ? 16 : \
32 IS_ALIGNED(sizeof(struct xdp_buff_xsk), 8) ? 8 : \
58 offsetof(struct xdp_buff_xsk, xdp.data));
60 offsetof(struct xdp_buff_xsk, cb));
61 static_assert(IS_ALIGNED(sizeof(struct xdp_buff_xsk),
96 static_assert(offsetofend(struct xdp_buff_xsk, cb) >= \
/linux/drivers/net/ethernet/intel/libeth/
H A Dxsk.c133 const struct xdp_buff_xsk *xsk; in libeth_xsk_prog_exception()