Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Dxsk_buff_pool.h21 struct xdp_buff_xsk { struct
62 struct xdp_buff_xsk *heads;
81 struct xdp_buff_xsk *free_heads[];
92 void xp_release(struct xdp_buff_xsk *xskb);
100 void xp_free(struct xdp_buff_xsk *xskb);
111 static inline dma_addr_t xp_get_dma(struct xdp_buff_xsk *xskb) in xp_get_dma()
116 static inline dma_addr_t xp_get_frame_dma(struct xdp_buff_xsk *xskb) in xp_get_frame_dma()
121 void xp_dma_sync_for_cpu_slow(struct xdp_buff_xsk *xskb);
122 static inline void xp_dma_sync_for_cpu(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu()
H A Dxdp_sock_drv.h62 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
69 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
86 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
104 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
/OK3568_Linux_fs/kernel/net/xdp/
H A Dxsk_buff_pool.c48 struct xdp_buff_xsk *xskb; in xp_create_and_assign_umem()
451 static struct xdp_buff_xsk *__xp_alloc(struct xsk_buff_pool *pool) in __xp_alloc()
453 struct xdp_buff_xsk *xskb; in __xp_alloc()
494 struct xdp_buff_xsk *xskb; in xp_alloc()
502 xskb = list_first_entry(&pool->free_list, struct xdp_buff_xsk, in xp_alloc()
527 void xp_free(struct xdp_buff_xsk *xskb) in xp_free()
550 void xp_dma_sync_for_cpu_slow(struct xdp_buff_xsk *xskb) in xp_dma_sync_for_cpu_slow()
H A Dxsk.c136 void xp_release(struct xdp_buff_xsk *xskb) in xp_release()
141 static u64 xp_get_handle(struct xdp_buff_xsk *xskb) in xp_get_handle()
153 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in __xsk_rcv_zc()