Lines Matching refs:tx_queue
410 static int ef4_begin_loopback(struct ef4_tx_queue *tx_queue) in ef4_begin_loopback() argument
412 struct ef4_nic *efx = tx_queue->efx; in ef4_begin_loopback()
440 rc = ef4_enqueue_skb(tx_queue, skb); in ef4_begin_loopback()
446 "%d in %s loopback test\n", tx_queue->queue, in ef4_begin_loopback()
466 static int ef4_end_loopback(struct ef4_tx_queue *tx_queue, in ef4_end_loopback() argument
469 struct ef4_nic *efx = tx_queue->efx; in ef4_end_loopback()
498 tx_queue->queue, tx_done, state->packet_count, in ef4_end_loopback()
509 tx_queue->queue, rx_good, state->packet_count, in ef4_end_loopback()
516 lb_tests->tx_sent[tx_queue->queue] += state->packet_count; in ef4_end_loopback()
517 lb_tests->tx_done[tx_queue->queue] += tx_done; in ef4_end_loopback()
525 ef4_test_loopback(struct ef4_tx_queue *tx_queue, in ef4_test_loopback() argument
528 struct ef4_nic *efx = tx_queue->efx; in ef4_test_loopback()
544 tx_queue->queue, LOOPBACK_MODE(efx), in ef4_test_loopback()
548 begin_rc = ef4_begin_loopback(tx_queue); in ef4_test_loopback()
558 end_rc = ef4_end_loopback(tx_queue, lb_tests); in ef4_test_loopback()
571 "of %d packets\n", tx_queue->queue, LOOPBACK_MODE(efx), in ef4_test_loopback()
620 struct ef4_tx_queue *tx_queue; in ef4_test_loopbacks() local
660 ef4_for_each_channel_tx_queue(tx_queue, channel) { in ef4_test_loopbacks()
661 state->offload_csum = (tx_queue->queue & in ef4_test_loopbacks()
663 rc = ef4_test_loopback(tx_queue, in ef4_test_loopbacks()