Lines Matching refs:tx_queue
263 struct efx_tx_queue *tx_queue; in efx_process_channel() local
275 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
276 tx_queue->pkts_compl = 0; in efx_process_channel()
277 tx_queue->bytes_compl = 0; in efx_process_channel()
290 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
291 if (tx_queue->bytes_compl) { in efx_process_channel()
292 netdev_tx_completed_queue(tx_queue->core_txq, in efx_process_channel()
293 tx_queue->pkts_compl, tx_queue->bytes_compl); in efx_process_channel()
465 struct efx_tx_queue *tx_queue; in efx_alloc_channel() local
477 tx_queue = &channel->tx_queue[j]; in efx_alloc_channel()
478 tx_queue->efx = efx; in efx_alloc_channel()
479 tx_queue->queue = i * EFX_TXQ_TYPES + j; in efx_alloc_channel()
480 tx_queue->channel = channel; in efx_alloc_channel()
502 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
518 tx_queue = &channel->tx_queue[j]; in efx_copy_channel()
519 if (tx_queue->channel) in efx_copy_channel()
520 tx_queue->channel = channel; in efx_copy_channel()
521 tx_queue->buffer = NULL; in efx_copy_channel()
522 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in efx_copy_channel()
538 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
553 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_probe_channel()
554 rc = efx_probe_tx_queue(tx_queue); in efx_probe_channel()
642 struct efx_tx_queue *tx_queue; in efx_start_datapath() local
710 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_start_datapath()
711 efx_init_tx_queue(tx_queue); in efx_start_datapath()
735 struct efx_tx_queue *tx_queue; in efx_stop_datapath() local
774 efx_for_each_possible_channel_tx_queue(tx_queue, channel) in efx_stop_datapath()
775 efx_fini_tx_queue(tx_queue); in efx_stop_datapath()
781 struct efx_tx_queue *tx_queue; in efx_remove_channel() local
789 efx_for_each_possible_channel_tx_queue(tx_queue, channel) in efx_remove_channel()
790 efx_remove_tx_queue(tx_queue); in efx_remove_channel()
820 struct efx_tx_queue *tx_queue; in efx_realloc_channels() local
831 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_realloc_channels()
833 tx_queue->txd.index + in efx_realloc_channels()
834 tx_queue->txd.entries); in efx_realloc_channels()
1730 struct efx_tx_queue *tx_queue; in efx_set_channels() local
1746 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_set_channels()
1747 tx_queue->queue -= (efx->tx_channel_offset * in efx_set_channels()
2591 struct efx_tx_queue *tx_queue; in efx_register_netdev() local
2592 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_register_netdev()
2593 efx_init_tx_queue_core_txq(tx_queue); in efx_register_netdev()