Lines Matching refs:NUM_PACKETS
63 #define NUM_PACKETS 100 macro
236 pair_udp_send(udp_sock, NUM_PACKETS); in walk_v1_v2_rx()
238 while (total_packets < NUM_PACKETS * 2) { in walk_v1_v2_rx()
270 if (total_packets != 2 * NUM_PACKETS) { in walk_v1_v2_rx()
272 ring->version, total_packets, NUM_PACKETS); in walk_v1_v2_rx()
276 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v1_v2_rx()
393 bug_on(nframes < NUM_PACKETS); in walk_tx()
415 total_packets = NUM_PACKETS; in walk_tx()
481 total_packets < NUM_PACKETS) { in walk_tx()
491 if (total_packets != NUM_PACKETS) { in walk_tx()
493 ring->version, total_packets, NUM_PACKETS); in walk_tx()
497 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, got); in walk_tx()
597 pair_udp_send(udp_sock, NUM_PACKETS); in walk_v3_rx()
599 while (total_packets < NUM_PACKETS * 2) { in walk_v3_rx()
613 if (total_packets != 2 * NUM_PACKETS) { in walk_v3_rx()
615 total_packets, NUM_PACKETS); in walk_v3_rx()
619 fprintf(stderr, " %u pkts (%u bytes)", NUM_PACKETS, total_bytes >> 1); in walk_v3_rx()