Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/
Dxskxceiver.c287 size_t umem_sz = DEFAULT_UMEM_BUFFERS * XSK_UMEM__DEFAULT_FRAME_SIZE; in ifobj_zc_avail() local
295 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); in ifobj_zc_avail()
301 munmap(bufs, umem_sz); in ifobj_zc_avail()
305 ret = xsk_configure_umem(ifobject, umem, bufs, umem_sz); in ifobj_zc_avail()
322 munmap(umem->buffer, umem_sz); in ifobj_zc_avail()
1685 u64 umem_sz = ifobject->umem->num_frames * ifobject->umem->frame_size; in thread_common_ops() local
1696 umem_sz *= 2; in thread_common_ops()
1698 bufs = mmap(NULL, umem_sz, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); in thread_common_ops()
1702 ret = xsk_configure_umem(ifobject, ifobject->umem, bufs, umem_sz); in thread_common_ops()
1783 u64 umem_sz = ifobj->umem->num_frames * ifobj->umem->frame_size; in testapp_clean_xsk_umem() local
[all …]