Lines Matching refs:tx_queue
248 struct efx_tx_queue *tx_queue; in efx_process_channel() local
254 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
255 tx_queue->pkts_compl = 0; in efx_process_channel()
256 tx_queue->bytes_compl = 0; in efx_process_channel()
269 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
270 if (tx_queue->bytes_compl) { in efx_process_channel()
271 netdev_tx_completed_queue(tx_queue->core_txq, in efx_process_channel()
272 tx_queue->pkts_compl, tx_queue->bytes_compl); in efx_process_channel()
438 struct efx_tx_queue *tx_queue; in efx_alloc_channel() local
450 tx_queue = &channel->tx_queue[j]; in efx_alloc_channel()
451 tx_queue->efx = efx; in efx_alloc_channel()
452 tx_queue->queue = i * EFX_TXQ_TYPES + j; in efx_alloc_channel()
453 tx_queue->channel = channel; in efx_alloc_channel()
472 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
485 tx_queue = &channel->tx_queue[j]; in efx_copy_channel()
486 if (tx_queue->channel) in efx_copy_channel()
487 tx_queue->channel = channel; in efx_copy_channel()
488 tx_queue->buffer = NULL; in efx_copy_channel()
489 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in efx_copy_channel()
503 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
518 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_probe_channel()
519 rc = efx_probe_tx_queue(tx_queue); in efx_probe_channel()
604 struct efx_tx_queue *tx_queue; in efx_start_datapath() local
663 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_start_datapath()
664 efx_init_tx_queue(tx_queue); in efx_start_datapath()
688 struct efx_tx_queue *tx_queue; in efx_stop_datapath() local
736 efx_for_each_possible_channel_tx_queue(tx_queue, channel) in efx_stop_datapath()
737 efx_fini_tx_queue(tx_queue); in efx_stop_datapath()
743 struct efx_tx_queue *tx_queue; in efx_remove_channel() local
751 efx_for_each_possible_channel_tx_queue(tx_queue, channel) in efx_remove_channel()
752 efx_remove_tx_queue(tx_queue); in efx_remove_channel()
782 struct efx_tx_queue *tx_queue; in efx_realloc_channels() local
793 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_realloc_channels()
795 tx_queue->txd.index + in efx_realloc_channels()
796 tx_queue->txd.entries); in efx_realloc_channels()
1625 struct efx_tx_queue *tx_queue; in efx_set_channels() local
1641 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_set_channels()
1642 tx_queue->queue -= (efx->tx_channel_offset * in efx_set_channels()
2429 struct efx_tx_queue *tx_queue; in efx_register_netdev() local
2430 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_register_netdev()
2431 efx_init_tx_queue_core_txq(tx_queue); in efx_register_netdev()