Home
last modified time | relevance | path

Searched refs:xskb (Results 1 – 2 of 2) sorted by relevance

/linux/net/xdp/
H A Dxsk_buff_pool.c60 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem() local
101 xskb = &pool->heads[i]; in xp_create_and_assign_umem()
102 xskb->pool = pool; in xp_create_and_assign_umem()
103 xskb->xdp.frame_sz = umem->chunk_size - umem->headroom; in xp_create_and_assign_umem()
104 INIT_LIST_HEAD(&xskb->list_node); in xp_create_and_assign_umem()
106 pool->free_heads[i] = xskb; in xp_create_and_assign_umem()
108 xp_init_xskb_addr(xskb, pool, i * pool->chunk_size); in xp_create_and_assign_umem()
132 struct xdp_buff_xsk *xskb = &pool->heads[i]; in xp_fill_cb() local
134 memcpy(xskb->cb + desc->off, desc->src, desc->bytes); in xp_fill_cb()
418 struct xdp_buff_xsk *xskb in xp_init_dma_info()
419 struct xdp_buff_xsk *xskb = &pool->heads[i]; xp_init_dma_info() local
508 struct xdp_buff_xsk *xskb; xp_get_xskb() local
524 struct xdp_buff_xsk *xskb; __xp_alloc() local
555 struct xdp_buff_xsk *xskb; xp_alloc() local
591 struct xdp_buff_xsk *xskb; xp_alloc_new_from_fq() local
617 struct xdp_buff_xsk *xskb; xp_alloc_reused() local
693 xp_free(struct xdp_buff_xsk * xskb) xp_free() argument
[all...]
H A Dxsk.c138 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff_xsk *xskb, u32 len, in __xsk_rcv_zc() argument
144 addr = xp_get_handle(xskb, xskb->pool); in __xsk_rcv_zc()
151 xp_release(xskb); in __xsk_rcv_zc()
157 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_rcv_zc() local
167 err = __xsk_rcv_zc(xs, xskb, len, contd); in xsk_rcv_zc()
173 xskb_list = &xskb->pool->xskb_list; in xsk_rcv_zc()
231 struct xdp_buff_xsk *xskb; in __xsk_rcv() local
248 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
249 err = __xsk_rcv_zc(xs, xskb, len, 0); in __xsk_rcv()
286 xskb = container_of(xsk_xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv()
[all …]