Lines Matching refs:tx_queue
266 struct efx_tx_queue *tx_queue; in efx_process_channel() local
278 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
279 tx_queue->pkts_compl = 0; in efx_process_channel()
280 tx_queue->bytes_compl = 0; in efx_process_channel()
293 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
294 if (tx_queue->bytes_compl) { in efx_process_channel()
295 netdev_tx_completed_queue(tx_queue->core_txq, in efx_process_channel()
296 tx_queue->pkts_compl, tx_queue->bytes_compl); in efx_process_channel()
468 struct efx_tx_queue *tx_queue; in efx_alloc_channel() local
480 tx_queue = &channel->tx_queue[j]; in efx_alloc_channel()
481 tx_queue->efx = efx; in efx_alloc_channel()
482 tx_queue->queue = i * EFX_TXQ_TYPES + j; in efx_alloc_channel()
483 tx_queue->channel = channel; in efx_alloc_channel()
505 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
521 tx_queue = &channel->tx_queue[j]; in efx_copy_channel()
522 if (tx_queue->channel) in efx_copy_channel()
523 tx_queue->channel = channel; in efx_copy_channel()
524 tx_queue->buffer = NULL; in efx_copy_channel()
525 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in efx_copy_channel()
541 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
556 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_probe_channel()
557 rc = efx_probe_tx_queue(tx_queue); in efx_probe_channel()
645 struct efx_tx_queue *tx_queue; in efx_start_datapath() local
713 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_start_datapath()
714 efx_init_tx_queue(tx_queue); in efx_start_datapath()
738 struct efx_tx_queue *tx_queue; in efx_stop_datapath() local
777 efx_for_each_possible_channel_tx_queue(tx_queue, channel) in efx_stop_datapath()
778 efx_fini_tx_queue(tx_queue); in efx_stop_datapath()
784 struct efx_tx_queue *tx_queue; in efx_remove_channel() local
792 efx_for_each_possible_channel_tx_queue(tx_queue, channel) in efx_remove_channel()
793 efx_remove_tx_queue(tx_queue); in efx_remove_channel()
823 struct efx_tx_queue *tx_queue; in efx_realloc_channels() local
834 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_realloc_channels()
836 tx_queue->txd.index + in efx_realloc_channels()
837 tx_queue->txd.entries); in efx_realloc_channels()
1733 struct efx_tx_queue *tx_queue; in efx_set_channels() local
1749 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_set_channels()
1750 tx_queue->queue -= (efx->tx_channel_offset * in efx_set_channels()
2594 struct efx_tx_queue *tx_queue; in efx_register_netdev() local
2595 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_register_netdev()
2596 efx_init_tx_queue_core_txq(tx_queue); in efx_register_netdev()