Lines Matching refs:tx_queue

531 	struct efx_tx_queue *tx_queue;  in efx_alloc_channel()  local
544 tx_queue = &channel->tx_queue[j]; in efx_alloc_channel()
545 tx_queue->efx = efx; in efx_alloc_channel()
546 tx_queue->queue = -1; in efx_alloc_channel()
547 tx_queue->label = j; in efx_alloc_channel()
548 tx_queue->channel = channel; in efx_alloc_channel()
601 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
618 tx_queue = &channel->tx_queue[j]; in efx_copy_channel()
619 if (tx_queue->channel) in efx_copy_channel()
620 tx_queue->channel = channel; in efx_copy_channel()
621 tx_queue->buffer = NULL; in efx_copy_channel()
622 tx_queue->cb_page = NULL; in efx_copy_channel()
623 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in efx_copy_channel()
639 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
654 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_probe_channel()
655 rc = efx_probe_tx_queue(tx_queue); in efx_probe_channel()
742 struct efx_tx_queue *tx_queue; in efx_remove_channel() local
750 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_remove_channel()
751 efx_remove_tx_queue(tx_queue); in efx_remove_channel()
767 struct efx_tx_queue *tx_queue) in efx_set_xdp_tx_queue() argument
774 tx_queue->channel->channel, tx_queue->label, in efx_set_xdp_tx_queue()
775 xdp_queue_number, tx_queue->queue); in efx_set_xdp_tx_queue()
776 efx->xdp_tx_queues[xdp_queue_number] = tx_queue; in efx_set_xdp_tx_queue()
782 struct efx_tx_queue *tx_queue; in efx_set_xdp_channels() local
797 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_set_xdp_channels()
798 tx_queue->queue = next_queue++; in efx_set_xdp_channels()
800 tx_queue); in efx_set_xdp_channels()
805 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_set_xdp_channels()
806 tx_queue->queue = next_queue++; in efx_set_xdp_channels()
809 channel->channel, tx_queue->label, in efx_set_xdp_channels()
810 tx_queue->queue); in efx_set_xdp_channels()
820 tx_queue = &channel->tx_queue[0]; in efx_set_xdp_channels()
822 tx_queue); in efx_set_xdp_channels()
838 tx_queue = efx->xdp_tx_queues[next_queue++]; in efx_set_xdp_channels()
839 rc = efx_set_xdp_tx_queue(efx, xdp_queue_number, tx_queue); in efx_set_xdp_channels()
863 struct efx_tx_queue *tx_queue; in efx_realloc_channels() local
874 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_realloc_channels()
876 tx_queue->txd.index + in efx_realloc_channels()
877 tx_queue->txd.entries); in efx_realloc_channels()
1117 struct efx_tx_queue *tx_queue; in efx_start_channels() local
1124 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_start_channels()
1125 efx_init_tx_queue(tx_queue); in efx_start_channels()
1143 struct efx_tx_queue *tx_queue; in efx_stop_channels() local
1185 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_stop_channels()
1186 efx_fini_tx_queue(tx_queue); in efx_stop_channels()
1205 struct efx_tx_queue *tx_queue; in efx_process_channel() local
1217 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
1218 tx_queue->pkts_compl = 0; in efx_process_channel()
1219 tx_queue->bytes_compl = 0; in efx_process_channel()
1232 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
1233 if (tx_queue->bytes_compl) { in efx_process_channel()
1234 netdev_tx_completed_queue(tx_queue->core_txq, in efx_process_channel()
1235 tx_queue->pkts_compl, in efx_process_channel()
1236 tx_queue->bytes_compl); in efx_process_channel()