Lines Matching refs:tx_queue
415 static int efx_begin_loopback(struct efx_tx_queue *tx_queue) in efx_begin_loopback() argument
417 struct efx_nic *efx = tx_queue->efx; in efx_begin_loopback()
449 rc = efx_enqueue_skb(tx_queue, skb); in efx_begin_loopback()
455 "%d in %s loopback test\n", tx_queue->label, in efx_begin_loopback()
475 static int efx_end_loopback(struct efx_tx_queue *tx_queue, in efx_end_loopback() argument
478 struct efx_nic *efx = tx_queue->efx; in efx_end_loopback()
507 tx_queue->label, tx_done, state->packet_count, in efx_end_loopback()
518 tx_queue->label, rx_good, state->packet_count, in efx_end_loopback()
525 lb_tests->tx_sent[tx_queue->label] += state->packet_count; in efx_end_loopback()
526 lb_tests->tx_done[tx_queue->label] += tx_done; in efx_end_loopback()
534 efx_test_loopback(struct efx_tx_queue *tx_queue, in efx_test_loopback() argument
537 struct efx_nic *efx = tx_queue->efx; in efx_test_loopback()
553 tx_queue->label, tx_queue->queue, LOOPBACK_MODE(efx), in efx_test_loopback()
557 begin_rc = efx_begin_loopback(tx_queue); in efx_test_loopback()
567 end_rc = efx_end_loopback(tx_queue, lb_tests); in efx_test_loopback()
580 "of %d packets\n", tx_queue->label, LOOPBACK_MODE(efx), in efx_test_loopback()
625 struct efx_tx_queue *tx_queue; in efx_test_loopbacks() local
665 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_test_loopbacks()
666 state->offload_csum = (tx_queue->type & in efx_test_loopbacks()
668 rc = efx_test_loopback(tx_queue, in efx_test_loopbacks()