Lines Matching refs:packet_count
82 int packet_count; member
415 for (i = 0; i < state->packet_count; i++) { in efx_begin_loopback()
443 i + 1, state->packet_count, in efx_begin_loopback()
459 return atomic_read(&state->rx_good) == state->packet_count; in efx_poll_loopback()
475 for (i = 0; i < state->packet_count; i++) { in efx_end_loopback()
487 if (tx_done != state->packet_count) { in efx_end_loopback()
494 tx_queue->queue, tx_done, state->packet_count, in efx_end_loopback()
501 if (rx_good != state->packet_count) { in efx_end_loopback()
505 tx_queue->queue, rx_good, state->packet_count, in efx_end_loopback()
512 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in efx_end_loopback()
530 state->packet_count = efx->txq_entries / 3; in efx_test_loopback()
531 state->packet_count = min(1 << (i << 2), state->packet_count); in efx_test_loopback()
532 state->skbs = kcalloc(state->packet_count, in efx_test_loopback()
541 state->packet_count); in efx_test_loopback()
568 state->packet_count); in efx_test_loopback()