Lines Matching refs:tx_queue

243 	struct ef4_tx_queue *tx_queue;  in ef4_process_channel()  local
249 ef4_for_each_channel_tx_queue(tx_queue, channel) { in ef4_process_channel()
250 tx_queue->pkts_compl = 0; in ef4_process_channel()
251 tx_queue->bytes_compl = 0; in ef4_process_channel()
264 ef4_for_each_channel_tx_queue(tx_queue, channel) { in ef4_process_channel()
265 if (tx_queue->bytes_compl) { in ef4_process_channel()
266 netdev_tx_completed_queue(tx_queue->core_txq, in ef4_process_channel()
267 tx_queue->pkts_compl, tx_queue->bytes_compl); in ef4_process_channel()
432 struct ef4_tx_queue *tx_queue; in ef4_alloc_channel() local
444 tx_queue = &channel->tx_queue[j]; in ef4_alloc_channel()
445 tx_queue->efx = efx; in ef4_alloc_channel()
446 tx_queue->queue = i * EF4_TXQ_TYPES + j; in ef4_alloc_channel()
447 tx_queue->channel = channel; in ef4_alloc_channel()
465 struct ef4_tx_queue *tx_queue; in ef4_copy_channel() local
481 tx_queue = &channel->tx_queue[j]; in ef4_copy_channel()
482 if (tx_queue->channel) in ef4_copy_channel()
483 tx_queue->channel = channel; in ef4_copy_channel()
484 tx_queue->buffer = NULL; in ef4_copy_channel()
485 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in ef4_copy_channel()
498 struct ef4_tx_queue *tx_queue; in ef4_probe_channel() local
513 ef4_for_each_channel_tx_queue(tx_queue, channel) { in ef4_probe_channel()
514 rc = ef4_probe_tx_queue(tx_queue); in ef4_probe_channel()
600 struct ef4_tx_queue *tx_queue; in ef4_start_datapath() local
668 ef4_for_each_channel_tx_queue(tx_queue, channel) { in ef4_start_datapath()
669 ef4_init_tx_queue(tx_queue); in ef4_start_datapath()
691 struct ef4_tx_queue *tx_queue; in ef4_stop_datapath() local
737 ef4_for_each_possible_channel_tx_queue(tx_queue, channel) in ef4_stop_datapath()
738 ef4_fini_tx_queue(tx_queue); in ef4_stop_datapath()
744 struct ef4_tx_queue *tx_queue; in ef4_remove_channel() local
752 ef4_for_each_possible_channel_tx_queue(tx_queue, channel) in ef4_remove_channel()
753 ef4_remove_tx_queue(tx_queue); in ef4_remove_channel()
783 struct ef4_tx_queue *tx_queue; in ef4_realloc_channels() local
794 ef4_for_each_channel_tx_queue(tx_queue, channel) in ef4_realloc_channels()
796 tx_queue->txd.index + in ef4_realloc_channels()
797 tx_queue->txd.entries); in ef4_realloc_channels()
1599 struct ef4_tx_queue *tx_queue; in ef4_set_channels() local
1615 ef4_for_each_channel_tx_queue(tx_queue, channel) in ef4_set_channels()
1616 tx_queue->queue -= (efx->tx_channel_offset * in ef4_set_channels()
2309 struct ef4_tx_queue *tx_queue; in ef4_register_netdev() local
2310 ef4_for_each_channel_tx_queue(tx_queue, channel) in ef4_register_netdev()
2311 ef4_init_tx_queue_core_txq(tx_queue); in ef4_register_netdev()