Searched refs:NUM_PACKETS (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/net/ |
H A D | smc91c111.c | 24 #define NUM_PACKETS 4 macro 48 int tx_fifo[NUM_PACKETS]; 50 int rx_fifo[NUM_PACKETS]; 52 int tx_fifo_done[NUM_PACKETS]; 54 uint8_t data[NUM_PACKETS][2048]; 77 VMSTATE_INT32_ARRAY(tx_fifo, smc91c111_state, NUM_PACKETS), 79 VMSTATE_INT32_ARRAY(rx_fifo, smc91c111_state, NUM_PACKETS), 81 VMSTATE_INT32_ARRAY(tx_fifo_done, smc91c111_state, NUM_PACKETS), 82 VMSTATE_BUFFER_UNSAFE(data, smc91c111_state, 0, NUM_PACKETS * 2048), 139 if (s->allocated == (1 << NUM_PACKETS) - 1 || in smc91c111_can_receive() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 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() [all …]
|
H A D | gro.c | 65 #define NUM_PACKETS 4 macro 307 flag = NUM_PACKETS / 2; in send_flags() 319 for (i = 0; i < NUM_PACKETS + 1; i++) { in send_flags() 909 static int correct_payload[NUM_PACKETS]; in gro_receiver()
|