Lines Matching refs:packet_count
82 int packet_count; member
423 for (i = 0; i < state->packet_count; i++) { in ef4_begin_loopback()
450 i + 1, state->packet_count, in ef4_begin_loopback()
466 return atomic_read(&state->rx_good) == state->packet_count; in ef4_poll_loopback()
482 for (i = 0; i < state->packet_count; i++) { in ef4_end_loopback()
494 if (tx_done != state->packet_count) { in ef4_end_loopback()
501 tx_queue->queue, tx_done, state->packet_count, in ef4_end_loopback()
508 if (rx_good != state->packet_count) { in ef4_end_loopback()
512 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
519 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in ef4_end_loopback()
537 state->packet_count = efx->txq_entries / 3; in ef4_test_loopback()
538 state->packet_count = min(1 << (i << 2), state->packet_count); in ef4_test_loopback()
539 state->skbs = kcalloc(state->packet_count, in ef4_test_loopback()
548 state->packet_count); in ef4_test_loopback()
575 state->packet_count); in ef4_test_loopback()