Lines Matching refs:rx_queue
261 struct efx_rx_queue *rx_queue = in efx_process_channel() local
265 efx_fast_push_rx_descriptors(rx_queue, true); in efx_process_channel()
437 struct efx_rx_queue *rx_queue; in efx_alloc_channel() local
456 rx_queue = &channel->rx_queue; in efx_alloc_channel()
457 rx_queue->efx = efx; in efx_alloc_channel()
458 setup_timer(&rx_queue->slow_fill, efx_rx_slow_fill, in efx_alloc_channel()
459 (unsigned long)rx_queue); in efx_alloc_channel()
471 struct efx_rx_queue *rx_queue; in efx_copy_channel() local
492 rx_queue = &channel->rx_queue; in efx_copy_channel()
493 rx_queue->buffer = NULL; in efx_copy_channel()
494 memset(&rx_queue->rxd, 0, sizeof(rx_queue->rxd)); in efx_copy_channel()
495 setup_timer(&rx_queue->slow_fill, efx_rx_slow_fill, in efx_copy_channel()
496 (unsigned long)rx_queue); in efx_copy_channel()
504 struct efx_rx_queue *rx_queue; in efx_probe_channel() local
524 efx_for_each_channel_rx_queue(rx_queue, channel) { in efx_probe_channel()
525 rc = efx_probe_rx_queue(rx_queue); in efx_probe_channel()
605 struct efx_rx_queue *rx_queue; in efx_start_datapath() local
668 efx_for_each_channel_rx_queue(rx_queue, channel) { in efx_start_datapath()
669 efx_init_rx_queue(rx_queue); in efx_start_datapath()
672 efx_fast_push_rx_descriptors(rx_queue, false); in efx_start_datapath()
689 struct efx_rx_queue *rx_queue; in efx_stop_datapath() local
699 efx_for_each_channel_rx_queue(rx_queue, channel) in efx_stop_datapath()
700 rx_queue->refill_enabled = false; in efx_stop_datapath()
734 efx_for_each_channel_rx_queue(rx_queue, channel) in efx_stop_datapath()
735 efx_fini_rx_queue(rx_queue); in efx_stop_datapath()
744 struct efx_rx_queue *rx_queue; in efx_remove_channel() local
749 efx_for_each_channel_rx_queue(rx_queue, channel) in efx_remove_channel()
750 efx_remove_rx_queue(rx_queue); in efx_remove_channel()
781 struct efx_rx_queue *rx_queue; in efx_realloc_channels() local
789 efx_for_each_channel_rx_queue(rx_queue, channel) in efx_realloc_channels()
791 rx_queue->rxd.index + in efx_realloc_channels()
792 rx_queue->rxd.entries); in efx_realloc_channels()
875 void efx_schedule_slow_fill(struct efx_rx_queue *rx_queue) in efx_schedule_slow_fill() argument
877 mod_timer(&rx_queue->slow_fill, jiffies + msecs_to_jiffies(100)); in efx_schedule_slow_fill()
1637 channel->rx_queue.core_index = channel->channel; in efx_set_channels()
1639 channel->rx_queue.core_index = -1; in efx_set_channels()
2129 old_rx_packets = channel->rx_queue.rx_packets; in efx_busy_poll()
2132 rx_packets = channel->rx_queue.rx_packets - old_rx_packets; in efx_busy_poll()