Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/
Dxskxceiver.h103 struct xsk_umem_info { struct
119 struct xsk_umem_info *umem; argument
149 struct xsk_umem_info *umem;
Dxskxceiver.c174 static u64 umem_size(struct xsk_umem_info *umem) in umem_size()
179 static int xsk_configure_umem(struct ifobject *ifobj, struct xsk_umem_info *umem, void *buffer, in xsk_configure_umem()
208 static u64 umem_alloc_buffer(struct xsk_umem_info *umem) in umem_alloc_buffer()
220 static void umem_reset_alloc(struct xsk_umem_info *umem) in umem_reset_alloc()
245 static int __xsk_configure_socket(struct xsk_socket_info *xsk, struct xsk_umem_info *umem, in __xsk_configure_socket()
271 struct xsk_umem_info *umem; in ifobj_zc_avail()
280 umem = calloc(1, sizeof(struct xsk_umem_info)); in ifobj_zc_avail()
599 static void pkt_set(struct xsk_umem_info *umem, struct pkt *pkt, int offset, u32 len) in pkt_set()
609 static u32 pkt_get_buffer_len(struct xsk_umem_info *umem, u32 len) in pkt_get_buffer_len()
614 static struct pkt_stream *pkt_stream_generate(struct xsk_umem_info *umem, u32 nb_pkts, u32 pkt_len) in pkt_stream_generate()
[all …]