Home
last modified time | relevance | path

Searched refs:requested_num_queues (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/xen-netback/
Dxenbus.c730 unsigned int requested_num_queues; in connect() local
736 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect()
738 if (requested_num_queues > xenvif_max_queues) { in connect()
742 requested_num_queues, xenvif_max_queues); in connect()
764 be->vif->queues = vzalloc(array_size(requested_num_queues, in connect()
772 be->vif->num_queues = requested_num_queues; in connect()
773 be->vif->stalled_queues = requested_num_queues; in connect()
775 for (queue_index = 0; queue_index < requested_num_queues; ++queue_index) { in connect()
819 netif_set_real_num_tx_queues(be->vif->dev, requested_num_queues); in connect()
820 netif_set_real_num_rx_queues(be->vif->dev, requested_num_queues); in connect()
/linux-6.1.9/drivers/block/xen-blkback/
Dxenbus.c1067 unsigned int requested_num_queues = 0; in connect_ring() local
1098 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring()
1101 if (requested_num_queues > xenblk_max_queues in connect_ring()
1102 || requested_num_queues == 0) { in connect_ring()
1106 requested_num_queues, xenblk_max_queues); in connect_ring()
1109 blkif->nr_rings = requested_num_queues; in connect_ring()