Lines Matching refs:num_queues

200 	unsigned int num_queues;  in xenvif_select_queue()  local
204 num_queues = READ_ONCE(vif->num_queues); in xenvif_select_queue()
205 if (num_queues < 1) in xenvif_select_queue()
226 unsigned int num_queues; in xenvif_start_xmit() local
236 num_queues = READ_ONCE(vif->num_queues); in xenvif_start_xmit()
237 if (num_queues < 1) in xenvif_start_xmit()
242 if (index >= num_queues) { in xenvif_start_xmit()
245 index %= num_queues; in xenvif_start_xmit()
287 unsigned int num_queues; in xenvif_get_stats() local
295 num_queues = READ_ONCE(vif->num_queues); in xenvif_get_stats()
298 for (index = 0; index < num_queues; ++index) { in xenvif_get_stats()
319 unsigned int num_queues = vif->num_queues; in xenvif_up() local
322 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_up()
335 unsigned int num_queues = vif->num_queues; in xenvif_down() local
338 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_down()
442 unsigned int num_queues; in xenvif_get_ethtool_stats() local
447 num_queues = READ_ONCE(vif->num_queues); in xenvif_get_ethtool_stats()
451 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_get_ethtool_stats()
532 vif->num_queues = 0; in xenvif_alloc()
821 unsigned int num_queues = vif->num_queues; in xenvif_disconnect_data() local
826 for (queue_index = 0; queue_index < num_queues; ++queue_index) { in xenvif_disconnect_data()
862 unsigned int num_queues = vif->num_queues; in xenvif_free() local
868 for (queue_index = 0; queue_index < num_queues; ++queue_index) in xenvif_free()