Lines Matching refs:batch_size
112 u32 batch_size; member
156 .pool_size = xdp->batch_size, in xdp_test_run_setup()
162 xdp->frames = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); in xdp_test_run_setup()
166 xdp->skbs = kvmalloc_array(xdp->batch_size, sizeof(void *), GFP_KERNEL); in xdp_test_run_setup()
273 batch_sz = min_t(u32, repeat, xdp->batch_size); in xdp_test_run_batch()
345 u32 repeat, u32 batch_size, u32 *time) in bpf_test_run_xdp_live() argument
348 struct xdp_test_data xdp = { .batch_size = batch_size }; in bpf_test_run_xdp_live()
799 if (kattr->test.flags || kattr->test.cpu || kattr->test.batch_size) in bpf_prog_test_run_tracing()
863 kattr->test.repeat || kattr->test.batch_size) in bpf_prog_test_run_raw_tp()
1094 if (kattr->test.flags || kattr->test.cpu || kattr->test.batch_size) in bpf_prog_test_run_skb()
1277 u32 batch_size = kattr->test.batch_size; in bpf_prog_test_run_xdp() local
1297 if (!batch_size) in bpf_prog_test_run_xdp()
1298 batch_size = NAPI_POLL_WEIGHT; in bpf_prog_test_run_xdp()
1299 else if (batch_size > TEST_XDP_MAX_BATCH) in bpf_prog_test_run_xdp()
1303 } else if (batch_size) { in bpf_prog_test_run_xdp()
1387 ret = bpf_test_run_xdp_live(prog, &xdp, repeat, batch_size, &duration); in bpf_prog_test_run_xdp()
1448 if (kattr->test.flags || kattr->test.cpu || kattr->test.batch_size) in bpf_prog_test_run_flow_dissector()
1512 if (kattr->test.flags || kattr->test.cpu || kattr->test.batch_size) in bpf_prog_test_run_sk_lookup()
1615 kattr->test.batch_size) in bpf_prog_test_run_syscall()