Home
last modified time | relevance | path

Searched refs:NUM_PACKETS (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/hw/net/
H A Dsmc91c111.c25 #define NUM_PACKETS 4 macro
49 int tx_fifo[NUM_PACKETS];
51 int rx_fifo[NUM_PACKETS];
53 int tx_fifo_done[NUM_PACKETS];
55 uint8_t data[NUM_PACKETS][2048];
140 if (s->allocated == (1 << NUM_PACKETS) - 1 || in smc91c111_can_receive()
141 s->rx_fifo_len == NUM_PACKETS) { in smc91c111_can_receive()
158 if (s->allocated == (1 << NUM_PACKETS) - 1) { in smc91c111_allocate_packet()
162 for (i = 0; i < NUM_PACKETS; i++) { in smc91c111_allocate_packet()
282 if (s->tx_fifo_len == NUM_PACKETS) in smc91c111_queue_tx()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dpsock_tpacket.c63 #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()
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()
597 pair_udp_send(udp_sock, NUM_PACKETS); in walk_v3_rx()
613 if (total_packets != 2 * NUM_PACKETS) { in walk_v3_rx()
[all …]
H A Dgro.c65 #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()