Lines Matching refs:tx_queue

535 	struct efx_tx_queue *tx_queue;  in efx_alloc_channel()  local
548 tx_queue = &channel->tx_queue[j]; in efx_alloc_channel()
549 tx_queue->efx = efx; in efx_alloc_channel()
550 tx_queue->queue = -1; in efx_alloc_channel()
551 tx_queue->label = j; in efx_alloc_channel()
552 tx_queue->channel = channel; in efx_alloc_channel()
606 struct efx_tx_queue *tx_queue; in efx_copy_channel() local
623 tx_queue = &channel->tx_queue[j]; in efx_copy_channel()
624 if (tx_queue->channel) in efx_copy_channel()
625 tx_queue->channel = channel; in efx_copy_channel()
626 tx_queue->buffer = NULL; in efx_copy_channel()
627 tx_queue->cb_page = NULL; in efx_copy_channel()
628 memset(&tx_queue->txd, 0, sizeof(tx_queue->txd)); in efx_copy_channel()
644 struct efx_tx_queue *tx_queue; in efx_probe_channel() local
659 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_probe_channel()
660 rc = efx_siena_probe_tx_queue(tx_queue); in efx_probe_channel()
747 struct efx_tx_queue *tx_queue; in efx_siena_remove_channel() local
755 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_siena_remove_channel()
756 efx_siena_remove_tx_queue(tx_queue); in efx_siena_remove_channel()
772 struct efx_tx_queue *tx_queue) in efx_set_xdp_tx_queue() argument
779 tx_queue->channel->channel, tx_queue->label, in efx_set_xdp_tx_queue()
780 xdp_queue_number, tx_queue->queue); in efx_set_xdp_tx_queue()
781 efx->xdp_tx_queues[xdp_queue_number] = tx_queue; in efx_set_xdp_tx_queue()
787 struct efx_tx_queue *tx_queue; in efx_set_xdp_channels() local
802 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_set_xdp_channels()
803 tx_queue->queue = next_queue++; in efx_set_xdp_channels()
805 tx_queue); in efx_set_xdp_channels()
810 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_set_xdp_channels()
811 tx_queue->queue = next_queue++; in efx_set_xdp_channels()
814 channel->channel, tx_queue->label, in efx_set_xdp_channels()
815 tx_queue->queue); in efx_set_xdp_channels()
825 tx_queue = &channel->tx_queue[0]; in efx_set_xdp_channels()
827 tx_queue); in efx_set_xdp_channels()
843 tx_queue = efx->xdp_tx_queues[next_queue++]; in efx_set_xdp_channels()
844 rc = efx_set_xdp_tx_queue(efx, xdp_queue_number, tx_queue); in efx_set_xdp_channels()
872 struct efx_tx_queue *tx_queue; in efx_siena_realloc_channels() local
883 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_siena_realloc_channels()
885 tx_queue->txd.index + in efx_siena_realloc_channels()
886 tx_queue->txd.entries); in efx_siena_realloc_channels()
1123 struct efx_tx_queue *tx_queue; in efx_siena_start_channels() local
1128 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_siena_start_channels()
1129 efx_siena_init_tx_queue(tx_queue); in efx_siena_start_channels()
1147 struct efx_tx_queue *tx_queue; in efx_siena_stop_channels() local
1184 efx_for_each_channel_tx_queue(tx_queue, channel) in efx_siena_stop_channels()
1185 efx_siena_fini_tx_queue(tx_queue); in efx_siena_stop_channels()
1204 struct efx_tx_queue *tx_queue; in efx_process_channel() local
1216 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
1217 tx_queue->pkts_compl = 0; in efx_process_channel()
1218 tx_queue->bytes_compl = 0; in efx_process_channel()
1231 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_process_channel()
1232 if (tx_queue->bytes_compl) { in efx_process_channel()
1233 netdev_tx_completed_queue(tx_queue->core_txq, in efx_process_channel()
1234 tx_queue->pkts_compl, in efx_process_channel()
1235 tx_queue->bytes_compl); in efx_process_channel()