Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/xen-netback/
Dxenbus.c882 unsigned int requested_num_queues; in connect() local
888 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect()
890 if (requested_num_queues > xenvif_max_queues) { in connect()
894 requested_num_queues, xenvif_max_queues); in connect()
916 be->vif->queues = vzalloc(array_size(requested_num_queues, in connect()
924 be->vif->num_queues = requested_num_queues; in connect()
925 be->vif->stalled_queues = requested_num_queues; in connect()
927 for (queue_index = 0; queue_index < requested_num_queues; ++queue_index) { in connect()
971 netif_set_real_num_tx_queues(be->vif->dev, requested_num_queues); in connect()
972 netif_set_real_num_rx_queues(be->vif->dev, requested_num_queues); in connect()
/Linux-v5.4/drivers/block/xen-blkback/
Dxenbus.c1024 unsigned int requested_num_queues = 0; in connect_ring() local
1052 requested_num_queues = xenbus_read_unsigned(dev->otherend, in connect_ring()
1055 if (requested_num_queues > xenblk_max_queues in connect_ring()
1056 || requested_num_queues == 0) { in connect_ring()
1060 requested_num_queues, xenblk_max_queues); in connect_ring()
1063 blkif->nr_rings = requested_num_queues; in connect_ring()