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;
96 struct xdp_buff_xsk *free_heads[];
124 void xp_free(struct xdp_buff_xsk *xskb);
126 static inline void xp_init_xskb_addr(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_addr()
132 static inline void xp_init_xskb_dma(struct xdp_buff_xsk *xskb, struct xsk_buff_pool *pool, in xp_init_xskb_dma()
160 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
165 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
170 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu()
[all …]
/linux/net/xdp/
H A Dxsk_buff_pool.c64 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
138 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_fill_cb()
448 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_init_dma_info()
536 static struct xdp_buff_xsk *xp_get_xskb(struct xsk_buff_pool *pool, u64 addr) in xp_get_xskb()
538 struct xdp_buff_xsk *xskb; in xp_get_xskb()
552 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
554 struct xdp_buff_xsk *xskb; in __xp_alloc()
585 struct xdp_buff_xsk *xskb; in xp_alloc()
593 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
621 struct xdp_buff_xsk *xskb; in xp_alloc_new_from_fq()
[all …]
H A Dxsk.c191 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc()
208 static void __xsk_rcv_zc_safe(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, in __xsk_rcv_zc_safe()
221 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_rcv_zc()
223 struct xdp_buff_xsk *pos, *tmp; in xsk_rcv_zc()
301 struct xdp_buff_xsk *xskb, *tmp; in __xsk_rcv()
320 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
353 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
364 xskb = list_first_entry(&xsk_buffs, struct xdp_buff_xsk, 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()