Lines Matching refs:tx_queue
413 static int ef4_begin_loopback(struct ef4_tx_queue *tx_queue) in ef4_begin_loopback() argument
415 struct ef4_nic *efx = tx_queue->efx; in ef4_begin_loopback()
443 rc = ef4_enqueue_skb(tx_queue, skb); in ef4_begin_loopback()
449 "%d in %s loopback test\n", tx_queue->queue, in ef4_begin_loopback()
469 static int ef4_end_loopback(struct ef4_tx_queue *tx_queue, in ef4_end_loopback() argument
472 struct ef4_nic *efx = tx_queue->efx; in ef4_end_loopback()
501 tx_queue->queue, tx_done, 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()
520 lb_tests->tx_done[tx_queue->queue] += tx_done; in ef4_end_loopback()
528 ef4_test_loopback(struct ef4_tx_queue *tx_queue, in ef4_test_loopback() argument
531 struct ef4_nic *efx = tx_queue->efx; in ef4_test_loopback()
547 tx_queue->queue, LOOPBACK_MODE(efx), in ef4_test_loopback()
551 begin_rc = ef4_begin_loopback(tx_queue); in ef4_test_loopback()
561 end_rc = ef4_end_loopback(tx_queue, lb_tests); in ef4_test_loopback()
574 "of %d packets\n", tx_queue->queue, LOOPBACK_MODE(efx), in ef4_test_loopback()
623 struct ef4_tx_queue *tx_queue; in ef4_test_loopbacks() local
663 ef4_for_each_channel_tx_queue(tx_queue, channel) { in ef4_test_loopbacks()
664 state->offload_csum = (tx_queue->queue & in ef4_test_loopbacks()
666 rc = ef4_test_loopback(tx_queue, in ef4_test_loopbacks()