Lines Matching refs:tx_queue
416 static int efx_begin_loopback(struct efx_tx_queue *tx_queue) in efx_begin_loopback() argument
418 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback()
450 rc = efx_enqueue_skb(tx_queue, skb); in efx_begin_loopback()
456 "%d in %s loopback test\n", tx_queue->label, in efx_begin_loopback()
476 static int efx_end_loopback(struct efx_tx_queue *tx_queue, in efx_end_loopback() argument
479 struct efx_nic *efx = tx_queue->efx; in efx_end_loopback()
508 tx_queue->label, tx_done, state->packet_count, in efx_end_loopback()
519 tx_queue->label, rx_good, state->packet_count, in efx_end_loopback()
526 lb_tests->tx_sent[tx_queue->label] += state->packet_count; in efx_end_loopback()
527 lb_tests->tx_done[tx_queue->label] += tx_done; in efx_end_loopback()
535 efx_test_loopback(struct efx_tx_queue *tx_queue, in efx_test_loopback() argument
538 struct efx_nic *efx = tx_queue->efx; in efx_test_loopback()
554 tx_queue->label, tx_queue->queue, LOOPBACK_MODE(efx), in efx_test_loopback()
558 begin_rc = efx_begin_loopback(tx_queue); in efx_test_loopback()
568 end_rc = efx_end_loopback(tx_queue, lb_tests); in efx_test_loopback()
581 "of %d packets\n", tx_queue->label, LOOPBACK_MODE(efx), in efx_test_loopback()
630 struct efx_tx_queue *tx_queue; in efx_test_loopbacks() local
670 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_test_loopbacks()
671 state->offload_csum = (tx_queue->type & in efx_test_loopbacks()
673 rc = efx_test_loopback(tx_queue, in efx_test_loopbacks()