Lines Matching +full:bb +full:- +full:supply
1 // SPDX-License-Identifier: GPL-2.0
8 * Optionally, either '-C $rx_irq_cpu_list' or '-r $rps_bitmap' may be given.
10 * If '-C $rx_irq_cpu_list' is given, also
17 * Else if '-r $rps_bitmap' is given, also
60 #define TOEPLITZ_STR_LEN(K) (((K) * 3) - 1) /* hex encoded: AA:BB:CC:...:ZZ */
116 for (bit = 7; bit >= 0; bit--) { in toeplitz()
208 if (hdr->hv1.tp_rxhash) in recv_frame()
209 verify_rxhash(frame + hdr->tp_net, hdr->hv1.tp_rxhash, in recv_frame()
210 ring->cpu); in recv_frame()
214 return frame + hdr->tp_next_offset; in recv_frame()
224 block = (void *)(ring->mmap + ring->idx * ring_block_sz); in recv_block()
225 if (!(block->hdr.bh1.block_status & TP_STATUS_USER)) in recv_block()
229 frame += block->hdr.bh1.offset_to_first_pkt; in recv_block()
231 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
236 block->hdr.bh1.block_status = TP_STATUS_KERNEL; in recv_block()
237 ring->idx = (ring->idx + 1) % ring_block_nr; in recv_block()
253 frames_received - frames_nohash - frames_error, in process_rings()
347 if (fd == -1) in create_ring()
383 /* setup inet(6) socket to blackhole the test traffic, if arg '-s' */
389 if (fd == -1) in setup_sink()
476 if (bitmap & ~(RPS_MAX_CPUS - 1)) in parse_rps_bitmap()
478 bitmap, RPS_MAX_CPUS - 1); in parse_rps_bitmap()
505 while ((c = getopt_long(argc, argv, "46C:d:i:k:r:stT:uv", long_options, &index)) != -1) { in parse_opts()
553 error(1, 0, "Must supply rss key ('-k')"); in parse_opts()
561 "Can't supply both RSS cpus ('-C') and RPS map ('-r')"); in parse_opts()
571 int fd_sink = -1; in main()
585 if (frames_received - frames_nohash < min_tests) in main()