Lines Matching refs:packet_count
84 int packet_count; member
428 for (i = 0; i < state->packet_count; i++) { in ef4_begin_loopback()
459 i + 1, state->packet_count, in ef4_begin_loopback()
475 return atomic_read(&state->rx_good) == state->packet_count; in ef4_poll_loopback()
491 for (i = 0; i < state->packet_count; i++) { in ef4_end_loopback()
503 if (tx_done != state->packet_count) { in ef4_end_loopback()
510 tx_queue->queue, tx_done, state->packet_count, in ef4_end_loopback()
517 if (rx_good != state->packet_count) { in ef4_end_loopback()
521 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
528 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in ef4_end_loopback()
546 state->packet_count = efx->txq_entries / 3; in ef4_test_loopback()
547 state->packet_count = min(1 << (i << 2), state->packet_count); in ef4_test_loopback()
548 state->skbs = kcalloc(state->packet_count, in ef4_test_loopback()
557 state->packet_count); in ef4_test_loopback()
584 state->packet_count); in ef4_test_loopback()