Lines Matching refs:tx_queue

511 	struct efx_tx_queue *tx_queue;  in efx_alloc_channel()  local
524 tx_queue = &channel->tx_queue[j]; in efx_alloc_channel()
525 tx_queue->efx = efx; in efx_alloc_channel()
526 tx_queue->queue = -1; in efx_alloc_channel()
527 tx_queue->label = j; in efx_alloc_channel()
528 tx_queue->channel = channel; in efx_alloc_channel()
581 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
598 tx_queue = &channel->tx_queue[j]; in efx_copy_channel()
599 if (tx_queue->channel) in efx_copy_channel()
600 tx_queue->channel = channel; in efx_copy_channel()
601 tx_queue->buffer = NULL; in efx_copy_channel()
602 tx_queue->cb_page = NULL; in efx_copy_channel()
603 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in efx_copy_channel()
619 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
634 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_probe_channel()
635 rc = efx_probe_tx_queue(tx_queue); in efx_probe_channel()
721 struct efx_tx_queue *tx_queue; in efx_remove_channel() local
729 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_remove_channel()
730 efx_remove_tx_queue(tx_queue); in efx_remove_channel()
761 struct efx_tx_queue *tx_queue; in efx_realloc_channels() local
772 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_realloc_channels()
774 tx_queue->txd.index + in efx_realloc_channels()
775 tx_queue->txd.entries); in efx_realloc_channels()
856 struct efx_tx_queue *tx_queue; in efx_set_channels() local
890 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_set_channels()
891 tx_queue->queue = next_queue++; in efx_set_channels()
893 channel->channel, tx_queue->label, in efx_set_channels()
894 xdp_queue_number, tx_queue->queue); in efx_set_channels()
902 efx->xdp_tx_queues[xdp_queue_number] = tx_queue; in efx_set_channels()
906 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_set_channels()
907 tx_queue->queue = next_queue++; in efx_set_channels()
909 channel->channel, tx_queue->label, in efx_set_channels()
910 tx_queue->queue); in efx_set_channels()
1054 struct efx_tx_queue *tx_queue; in efx_start_channels() local
1059 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_start_channels()
1060 efx_init_tx_queue(tx_queue); in efx_start_channels()
1078 struct efx_tx_queue *tx_queue; in efx_stop_channels() local
1115 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_stop_channels()
1116 efx_fini_tx_queue(tx_queue); in efx_stop_channels()
1135 struct efx_tx_queue *tx_queue; in efx_process_channel() local
1147 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
1148 tx_queue->pkts_compl = 0; in efx_process_channel()
1149 tx_queue->bytes_compl = 0; in efx_process_channel()
1162 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
1163 if (tx_queue->bytes_compl) { in efx_process_channel()
1164 netdev_tx_completed_queue(tx_queue->core_txq, in efx_process_channel()
1165 tx_queue->pkts_compl, in efx_process_channel()
1166 tx_queue->bytes_compl); in efx_process_channel()