Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.c268 size_t umem_sz = DEFAULT_UMEM_BUFFERS * XSK_UMEM__DEFAULT_FRAME_SIZE; in ifobj_zc_avail() local
276 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); in ifobj_zc_avail()
282 munmap(bufs, umem_sz); in ifobj_zc_avail()
286 ret = xsk_configure_umem(ifobject, umem, bufs, umem_sz); in ifobj_zc_avail()
303 munmap(umem->buffer, umem_sz); in ifobj_zc_avail()
1431 u64 umem_sz = ifobject->umem->num_frames * ifobject->umem->frame_size; in thread_common_ops() local
1441 umem_sz *= 2; in thread_common_ops()
1443 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); in thread_common_ops()
1447 ret = xsk_configure_umem(ifobject, ifobject->umem, bufs, umem_sz); in thread_common_ops()
1530 u64 umem_sz = ifobj->umem->num_frames * ifobj->umem->frame_size; in testapp_clean_xsk_umem() local
[all …]