Searched refs:rings (Results 1 – 7 of 7) sorted by relevance
| /tools/testing/selftests/drivers/net/ |
| A D | hds.py | 17 if 'tcp-data-split' not in rings: 19 return rings['tcp-data-split'] 39 if 'tx' not in rings: 58 if 'hds-thresh' not in rings: 107 if 'hds-thresh' not in rings: 110 ksft_eq(0, rings['hds-thresh']) 117 if 'hds-thresh' not in rings: 122 if rings['hds-thresh-max'] < 2: 147 if 'hds-thresh' not in rings: 157 ksft_eq(rings['hds-thresh'], rings['hds-thresh-max']) [all …]
|
| A D | xdp.py | 504 rings = netnl.rings_get({'header': {'dev-index': cfg.ifindex}}) 505 if 'hds-thresh' not in rings: 508 hds_thresh = rings['hds-thresh']
|
| /tools/net/ynl/samples/ |
| A D | ethtool.c | 16 struct ethtool_rings_get_list *rings; in main() local 42 rings = ethtool_rings_get_dump(ys, &rreq); in main() 43 if (!rings) in main() 47 ynl_dump_foreach(rings, dev) { in main() 55 ethtool_rings_get_list_free(rings); in main()
|
| /tools/testing/selftests/net/ |
| A D | psock_fanout.c | 263 static int sock_fanout_read(int fds[], char *rings[], const int expect[]) in sock_fanout_read() argument 267 ret[0] = sock_fanout_read_ring(fds[0], rings[0]); in sock_fanout_read() 268 ret[1] = sock_fanout_read_ring(fds[1], rings[1]); in sock_fanout_read() 482 char *rings[2]; in test_datapath() local 501 rings[0] = sock_fanout_open_ring(fds[0]); in test_datapath() 502 rings[1] = sock_fanout_open_ring(fds[1]); in test_datapath() 505 sock_fanout_read(fds, rings, expect0); in test_datapath() 510 ret = sock_fanout_read(fds, rings, expect1); in test_datapath() 515 ret |= sock_fanout_read(fds, rings, expect2); in test_datapath() 517 if (munmap(rings[1], RING_NUM_FRAMES * getpagesize()) || in test_datapath() [all …]
|
| A D | toeplitz.c | 104 static struct ring_state rings[RSS_MAX_CPUS]; variable 250 do {} while (recv_block(&rings[i])); in process_rings() 404 rings[i].cpu = i; in setup_rings() 405 rings[i].fd = create_ring(&rings[i].mmap); in setup_rings() 410 set_filter(rings[i].fd); in setup_rings() 418 if (munmap(rings[i].mmap, ring_block_nr * ring_block_sz)) in cleanup_rings() 420 if (close(rings[i].fd)) in cleanup_rings()
|
| /tools/lib/bpf/ |
| A D | ringbuf.c | 38 struct ring **rings; member 103 tmp = libbpf_reallocarray(rb->rings, rb->ring_cnt + 1, sizeof(*rb->rings)); in ring_buffer__add() 106 rb->rings = tmp; in ring_buffer__add() 116 rb->rings[rb->ring_cnt] = r; in ring_buffer__add() 181 ringbuf_free_ring(rb, rb->rings[i]); in ring_buffer__free() 186 free(rb->rings); in ring_buffer__free() 294 struct ring *ring = rb->rings[i]; in ring_buffer__consume_n() 319 struct ring *ring = rb->rings[i]; in ring_buffer__consume() 348 struct ring *ring = rb->rings[ring_id]; in ring_buffer__poll() 371 return rb->rings[idx]; in ring_buffer__ring()
|
| /tools/bpf/bpftool/Documentation/ |
| A D | bpftool-map.rst | 124 Install perf rings into a perf event array map and dump output of any 134 installed its rings earlier.
|
Completed in 17 milliseconds