Home
last modified time | relevance | path

Searched full:queues (Results 1 – 25 of 132) sorted by relevance

123456

/openbmc/qemu/tests/qtest/fuzz/
H A Dvirtio_scsi_fuzz.c64 static void virtio_scsi_fuzz(QTestState *s, QVirtioSCSIQueues* queues, in virtio_scsi_fuzz() argument
98 vqa.queue = vqa.queue % queues->num_queues; in virtio_scsi_fuzz()
106 q = queues->vq[vqa.queue]; in virtio_scsi_fuzz()
129 qvirtqueue_kick(s, dev, queues->vq[i], free_head[i]); in virtio_scsi_fuzz()
138 static QVirtioSCSIQueues *queues; in virtio_scsi_with_flag_fuzz() local
141 queues = qvirtio_scsi_init(scsi->vdev, *(uint64_t *)Data); in virtio_scsi_with_flag_fuzz()
142 virtio_scsi_fuzz(s, queues, in virtio_scsi_with_flag_fuzz()
169 .description = "Fuzz the virtio-scsi virtual queues. " in register_virtio_scsi_fuzz_targets()
H A Dvirtio_blk_fuzz.c61 static void virtio_blk_fuzz(QTestState *s, QVirtioBlkQueues* queues, in virtio_blk_fuzz() argument
95 vqa.queue = vqa.queue % queues->num_queues; in virtio_blk_fuzz()
102 q = queues->vq[vqa.queue]; in virtio_blk_fuzz()
125 qvirtqueue_kick(s, dev, queues->vq[i], free_head[i]); in virtio_blk_fuzz()
134 static QVirtioBlkQueues *queues; in virtio_blk_with_flag_fuzz() local
137 queues = qvirtio_blk_init(blk->vdev, *(uint64_t *)Data); in virtio_blk_with_flag_fuzz()
138 virtio_blk_fuzz(s, queues, in virtio_blk_with_flag_fuzz()
188 .description = "Fuzz the virtio-blk virtual queues. " in register_virtio_blk_fuzz_targets()
H A Dvirtio_net_fuzz.c54 q = net_if->queues[vqa.queue % 3]; in virtio_net_fuzz_multi()
93 while (!vqa.rx && q != net_if->queues[QVIRTIO_RX_VQ]) { in virtio_net_fuzz_multi()
147 .description = "Fuzz the virtio-net virtual queues. Wait for the " in register_virtio_net_fuzz_targets()
/openbmc/qemu/docs/devel/migration/
H A Dcompatibility.rst130 queue. In qemu-5.2 it has the same number of queues as the number of
134 queues to a device that have only one queue, we don't know where to
135 put the extra information for the other 3 queues, and we fail
140 has 4, and we have 3 queues that are not properly initialized and
144 that when it is running pc-5.1, it needs to set the number of queues
151 qemu-5.2 -M pc-5.1 sets number of queues to be 1.
152 qemu-5.1 -M pc-5.1 expects number of queues to be 1.
158 qemu-5.1 -M pc-5.1 sets number of queues to be 1.
159 qemu-5.2 -M pc-5.1 expects number of queues to be 1.
168 lot if we have set the number of queues to 1 or not, because
[all …]
/openbmc/u-boot/tools/
H A Dgenboardscfg.py220 def read_queues(queues, params_list): argument
221 """Read the queues and append the data to the paramers list"""
222 for q in queues:
243 queues = []
252 queues.append(q)
257 # Data in the queues should be retrieved preriodically.
258 # Otherwise, the queues would become full and subprocesses would get stuck.
260 read_queues(queues, params_list)
261 # sleep for a while until the queues are filled
270 read_queues(queues, params_list)
/openbmc/qemu/tests/qtest/libqos/
H A Dvirtio-gpio.c24 qvirtqueue_cleanup(vdev->bus, gpio->queues[i], alloc); in virtio_gpio_cleanup()
26 g_free(gpio->queues); in virtio_gpio_cleanup()
44 gpio->queues = g_new(QVirtQueue *, 2); in virtio_gpio_setup()
46 gpio->queues[i] = qvirtqueue_setup(vdev, alloc, i); in virtio_gpio_setup()
H A Dvirtio-scmi.c26 qvirtqueue_cleanup(vdev->bus, scmi->queues[i], alloc); in virtio_scmi_cleanup()
28 g_free(scmi->queues); in virtio_scmi_cleanup()
46 scmi->queues = g_new(QVirtQueue *, 2); in virtio_scmi_setup()
48 scmi->queues[i] = qvirtqueue_setup(vdev, alloc, i); in virtio_scmi_setup()
H A Dvirtio-net.c34 qvirtqueue_cleanup(interface->vdev->bus, interface->queues[i], alloc); in virtio_net_cleanup()
36 g_free(interface->queues); in virtio_net_cleanup()
58 interface->queues = g_new(QVirtQueue *, interface->n_queues); in virtio_net_setup()
60 interface->queues[i] = qvirtqueue_setup(vdev, alloc, i); in virtio_net_setup()
H A Dvirtio-gpio.h22 QVirtQueue **queues; member
H A Dvirtio-scmi.h21 QVirtQueue **queues; member
/openbmc/qemu/docs/tools/
H A Dqemu-storage-daemon.rst79 …dr.path=<socket-path>[,writable=on|off][,logical-block-size=<block-size>][,num-queues=<num-queues>]
80 …type=fd,addr.str=<fd>[,writable=on|off][,logical-block-size=<block-size>][,num-queues=<num-queues>]
82 …id>,node-name=<node-name>,name=<vduse-name>[,writable=on|off][,num-queues=<num-queues>][,queue-siz…
99 512). ``num-queues`` sets the number of virtqueues (the default is 1).
118 ``num-queues`` sets the number of virtqueues (the default is 1).
/openbmc/u-boot/drivers/nvme/
H A Dnvme.c215 return nvme_submit_sync_cmd(dev->queues[NVME_ADMIN_Q], cmd, in nvme_submit_admin_cmd()
245 dev->queues[qid] = nvmeq; in nvme_alloc_queue()
308 struct nvme_queue *nvmeq = dev->queues[i]; in nvme_free_queues()
310 dev->queues[i] = NULL; in nvme_free_queues()
356 nvmeq = dev->queues[NVME_ADMIN_Q]; in nvme_configure_admin_queue()
384 nvme_init_queue(dev->queues[NVME_ADMIN_Q], 0); in nvme_configure_admin_queue()
550 if (nvme_create_queue(dev->queues[i], i)) in nvme_create_io_queues()
566 /* Free previously allocated queues */ in nvme_setup_io_queues()
717 status = nvme_submit_sync_cmd(dev->queues[NVME_IO_Q], in nvme_blk_rw()
783 ndev->queues = malloc(NVME_Q_NUM * sizeof(struct nvme_queue *)); in nvme_probe()
[all …]
/openbmc/qemu/net/
H A Daf-xdp.c308 /* Number of descriptors if all 4 queues (rx, tx, cq, fq) are full. */ in af_xdp_umem_create()
487 int64_t i, queues; in net_init_af_xdp() local
499 queues = opts->has_queues ? opts->queues : 1; in net_init_af_xdp()
500 if (queues < 1) { in net_init_af_xdp()
501 error_setg(errp, "invalid number of queues (%" PRIi64 ") for '%s'", in net_init_af_xdp()
502 queues, opts->ifname); in net_init_af_xdp()
532 sock_fds = parse_socket_fds(opts->sock_fds, queues, errp); in net_init_af_xdp()
538 for (i = 0; i < queues; i++) { in net_init_af_xdp()
H A Dfilter.c223 int queues; in netfilter_complete() local
231 queues = qemu_find_net_clients_except(nf->netdev_id, ncs, in netfilter_complete()
234 if (queues < 1) { in netfilter_complete()
238 } else if (queues > 1) { in netfilter_complete()
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DNetworkDeviceFunctionMetrics.v1_2_0.json360 "description": "Whether nothing is in a network function's RX queues to DMA.",
361 …tion": "This property shall indicate whether nothing is in a network function's RX queues to DMA.",
369 "description": "The number of RX queues that are full.",
370 … "longDescription": "This property shall contain the number of RX queues that are full.",
426 "description": "Whether all TX queues for a network function are empty.",
427 …"longDescription": "This property shall indicate whether all TX queues for a network function are …
435 "description": "The number of TX queues that are full.",
436 … "longDescription": "This property shall contain the number of TX queues that are full.",
/openbmc/u-boot/drivers/net/
H A Dep93xx_eth.h21 * Number of descriptor and status entries in our RX queues.
27 * Number of descriptor and status entries in our TX queues.
/openbmc/qemu/include/hw/xen/interface/io/
H A Dblkif.h417 * Multiple hardware queues/rings:
418 * If supported, the backend will write the key "multi-queue-max-queues" to
420 * number of queues.
422 * key "multi-queue-num-queues" with the number they wish to use, which must be
424 * "multi-queue-max-queues".
431 * Frontends requesting two or more queues must not write the toplevel
434 * which those keys belong. Queues are indexed from zero.
435 * For example, a frontend with two queues must write the following set of
438 * /local/domain/1/device/vbd/0/multi-queue-num-queues = "2"
446 * It is also possible to use multiple queues/rings together with
[all …]
H A Dnetif.h55 * Multiple transmit and receive queues:
56 * If supported, the backend will write the key "multi-queue-max-queues" to
58 * number of queues.
60 * key "multi-queue-num-queues", set to the number they wish to use, which
62 * in "multi-queue-max-queues".
64 * Queues replicate the shared rings and event channels.
66 * multiple queues, but is not mandatory.
76 * Frontends requesting two or more queues must not write the toplevel
79 * N is the integer ID of the queue for which those keys belong. Queues
80 * are indexed from zero. For example, a frontend with two queues and split
[all …]
/openbmc/qemu/storage-daemon/
H A Dqemu-storage-daemon.c116 " [,logical-block-size=<block-size>][,num-queues=<num-queues>]\n" in help()
121 " [,logical-block-size=<block-size>][,num-queues=<num-queues>]\n" in help()
129 " [,num-queues=<num-queues>][,queue-size=<queue-size>]\n" in help()
/openbmc/qemu/backends/
H A Dcryptodev-builtin.c80 int queues = backend->conf.peers.queues; in cryptodev_builtin_init() local
83 if (queues != 1) { in cryptodev_builtin_init()
590 int queues = backend->conf.peers.queues; in cryptodev_builtin_cleanup() local
599 for (i = 0; i < queues; i++) { in cryptodev_builtin_cleanup()
H A Dcryptodev.c83 for (i = 0; i < backend->conf.peers.queues; i++) { in qmp_query_cryptodev_foreach()
297 uint32_t value = backend->conf.peers.queues; in cryptodev_backend_get_queues()
317 backend->conf.peers.queues = value; in cryptodev_backend_set_queues()
466 /* Initialize devices' queues property to 1 */ in cryptodev_backend_instance_init()
467 object_property_set_int(obj, "queues", 1, NULL); in cryptodev_backend_instance_init()
619 object_class_property_add(oc, "queues", "uint32", in cryptodev_backend_class_init()
/openbmc/qemu/tests/qtest/
H A Dvhost-user-test.c171 int queues; member
446 assert(msg.payload.state.index < s->queues * 2); in chr_read()
491 assert(msg.payload.state.index < s->queues * 2); in chr_read()
499 msg.payload.u64 = s->queues; in chr_read()
597 server->queues = 1; in test_server_new()
1024 s->queues = 2; in vhost_user_test_setup_multiqueue()
1026 " -set netdev.hs0.queues=%d" in vhost_user_test_setup_multiqueue()
1028 s->queues, s->queues * 2 + 2); in vhost_user_test_setup_multiqueue()
1037 wait_for_rings_started(s, s->queues * in test_multiqueue()
[all...]
H A Dvirtio-net-test.c151 QVirtQueue *rx = net_if->queues[0]; in send_recv_test()
152 QVirtQueue *tx = net_if->queues[1]; in send_recv_test()
163 QVirtQueue *rx = net_if->queues[0]; in stop_cont_test()
293 QVirtQueue *vq = dev->queues[1]; in large_tx()
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DNetworkDeviceFunctionMetrics_v1.xml145 …<Annotation Term="OData.Description" String="Whether all TX queues for a network function are empt…
146 …ata.LongDescription" String="This property shall indicate whether all TX queues for a network func…
150 …on Term="OData.Description" String="Whether nothing is in a network function's RX queues to DMA."/>
151 …tring="This property shall indicate whether nothing is in a network function's RX queues to DMA."/>
155 <Annotation Term="OData.Description" String="The number of TX queues that are full."/>
156 …Data.LongDescription" String="This property shall contain the number of TX queues that are full."/>
160 <Annotation Term="OData.Description" String="The number of RX queues that are full."/>
161 …Data.LongDescription" String="This property shall contain the number of RX queues that are full."/>
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_fs.h15 /* Number of request queues */

123456