Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/
Dxskxceiver.h54 #define DEFAULT_UMEM_BUFFERS (DEFAULT_PKT_CNT / 4) macro
55 #define UMEM_SIZE (DEFAULT_UMEM_BUFFERS * XSK_UMEM__DEFAULT_FRAME_SIZE)
Dxskxceiver.c338 size_t umem_sz = DEFAULT_UMEM_BUFFERS * XSK_UMEM__DEFAULT_FRAME_SIZE; in ifobj_zc_avail()
505 ifobj->umem->num_frames = DEFAULT_UMEM_BUFFERS; in __test_spec_init()
508 ifobj->umem->base_addr = DEFAULT_UMEM_BUFFERS * in __test_spec_init()
1589 pkt_stream_replace(test, DEFAULT_UMEM_BUFFERS + DEFAULT_UMEM_BUFFERS / 2, PKT_SIZE); in testapp_stats_rx_full()
1591 DEFAULT_UMEM_BUFFERS, PKT_SIZE); in testapp_stats_rx_full()
1595 test->ifobj_rx->xsk->rxqsize = DEFAULT_UMEM_BUFFERS; in testapp_stats_rx_full()
1606 pkt_stream_replace(test, DEFAULT_UMEM_BUFFERS + DEFAULT_UMEM_BUFFERS / 2, PKT_SIZE); in testapp_stats_fill_empty()
1608 DEFAULT_UMEM_BUFFERS, PKT_SIZE); in testapp_stats_fill_empty()