Searched refs:batch_size (Results 1 – 9 of 9) sorted by relevance
| /tools/testing/selftests/bpf/map_tests/ |
| D | map_in_map_batch_ops.c | 123 __u32 batch_size, bool delete_entries) in fetch_and_validate() argument 137 for (step_size = batch_size; in fetch_and_validate() 139 step_size += batch_size) { in fetch_and_validate() 180 delete_entries ? "LOOKUP_AND_DELETE" : "LOOKUP", batch_size); in fetch_and_validate() 193 int batch_size[2] = {5, 10}; in _map_in_map_batch_ops() local 222 batch_size[op_index], false); in _map_in_map_batch_ops()
|
| /tools/testing/selftests/bpf/ |
| D | test_lru_map.c | 256 unsigned int batch_size; in test_lru_sanity1() local 269 batch_size = tgt_free / 2; in test_lru_sanity1() 270 assert(batch_size * 2 == tgt_free); in test_lru_sanity1() 272 map_size = __map_size(tgt_free) + batch_size; in test_lru_sanity1() 288 end_key = 1 + batch_size; in test_lru_sanity1() 325 unsigned int batch_size; in test_lru_sanity2() local 338 batch_size = tgt_free / 2; in test_lru_sanity2() 339 assert(batch_size * 2 == tgt_free); in test_lru_sanity2() 341 map_size = __map_size(tgt_free) + batch_size; in test_lru_sanity2() 378 end_key = 1 + batch_size; in test_lru_sanity2() [all …]
|
| D | xskxceiver.c | 254 sock_opt = xsk->batch_size; in enable_busy_poll() 504 ifobj->xsk_arr[j].batch_size = DEFAULT_BATCH_SIZE; in __test_spec_init() 1091 static int complete_pkts(struct xsk_socket_info *xsk, int batch_size) in complete_pkts() argument 1103 rcvd = xsk_ring_cons__peek(&xsk->umem->cq, batch_size, &idx); in complete_pkts() 1157 rcvd = xsk_ring_cons__peek(&xsk->rx, xsk->batch_size, &idx_rx); in __receive_pkts() 1309 if (pkts_in_flight >= (int)((umem_size(umem) - xsk->batch_size * buffer_len) / in __send_pkts() 1320 while (xsk_ring_prod__reserve(&xsk->tx, xsk->batch_size, &idx) < xsk->batch_size) { in __send_pkts() 1340 complete_pkts(xsk, xsk->batch_size); in __send_pkts() 1343 for (i = 0; i < xsk->batch_size; i++) { in __send_pkts() 1351 if (nb_frags > xsk->batch_size - i) { in __send_pkts() [all …]
|
| D | xskxceiver.h | 95 u32 batch_size; member
|
| /tools/lib/bpf/ |
| D | bpf.h | 672 __u32 batch_size; member 674 #define bpf_test_run_opts__last_field batch_size
|
| D | bpf.c | 989 attr.test.batch_size = OPTS_GET(opts, batch_size, 0); in bpf_prog_test_run_opts()
|
| /tools/testing/selftests/bpf/prog_tests/ |
| D | xdp_do_redirect.c | 104 .batch_size = 64, in test_xdp_do_redirect()
|
| /tools/include/uapi/linux/ |
| D | bpf.h | 1628 __u32 batch_size; member
|
| /tools/perf/scripts/python/ |
| D | exported-sql-viewer.py | 2623 def FetchBatch(self, batch_size): argument 2625 while batch_size > fetched: 2644 batch_size = min(glb_chunk_sz, target - self.fetched) 2645 self.FetchBatch(batch_size)
|