Home
last modified time | relevance | path

Searched refs:max_queues (Results 1 – 10 of 10) sorted by relevance

/openbmc/qemu/subprojects/libvhost-user/
H A Dlink-test.c36 uint16_t max_queues = 2; in main() local
40 rc = vu_init(&dev, max_queues, socket, panic, NULL, set_watch, remove_watch, &iface); in main()
H A Dlibvhost-user-glib.h28 bool vug_init(VugDev *dev, uint16_t max_queues, int socket,
H A Dlibvhost-user-glib.c150 vug_init(VugDev *dev, uint16_t max_queues, int socket, in vug_init() argument
156 if (!vu_init(&dev->parent, max_queues, socket, panic, NULL, set_watch, in vug_init()
H A Dlibvhost-user.c334 for (i = 0; i < dev->max_queues; i++) { in unmap_rings()
805 for (i = 0; i < dev->max_queues; i++) { in vu_set_enable_all_rings()
1129 for (i = 0; i < dev->max_queues; i++) { in vu_set_mem_table_exec()
1297 if (index >= dev->max_queues) { in vu_check_queue_msg_file()
1730 vmsg_set_reply_u64(vmsg, dev->max_queues); in vu_get_queue_num_exec()
1743 if (index >= dev->max_queues) { in vu_set_vring_enable_exec()
2024 if (index >= dev->max_queues) { in vu_handle_vring_kick()
2198 for (i = 0; i < dev->max_queues; i++) { in vu_deinit()
2254 uint16_t max_queues, in vu_init() argument
2264 assert(max_queues > 0); in vu_init()
[all …]
H A Dlibvhost-user.h411 uint16_t max_queues; member
475 uint16_t max_queues,
/openbmc/qemu/include/qemu/
H A Dvhost-user-server.h40 int max_queues; member
60 uint16_t max_queues,
/openbmc/qemu/util/
H A Dvhost-user-server.c354 if (!vu_init(&server->vu_dev, server->max_queues, sioc->fd, panic_cb, in vu_accept()
489 uint16_t max_queues, in vhost_user_server_start()
516 .max_queues = max_queues, in vhost_user_server_start()
477 vhost_user_server_start(VuServer * server,SocketAddress * socket_addr,AioContext * ctx,uint16_t max_queues,const VuDevIface * vu_iface,Error ** errp) vhost_user_server_start() argument
/openbmc/qemu/hw/virtio/
H A Dvirtio-crypto.c1068 vcrypto->max_queues = MAX(vcrypto->cryptodev->conf.peers.queues, 1); in virtio_crypto_device_realize()
1069 if (vcrypto->max_queues + 1 > VIRTIO_QUEUE_MAX) { in virtio_crypto_device_realize()
1072 vcrypto->max_queues, VIRTIO_QUEUE_MAX); in virtio_crypto_device_realize()
1078 vcrypto->vqs = g_new0(VirtIOCryptoQueue, vcrypto->max_queues); in virtio_crypto_device_realize()
1079 for (i = 0; i < vcrypto->max_queues; i++) { in virtio_crypto_device_realize()
1104 int i, max_queues; in virtio_crypto_device_unrealize() local
1106 max_queues = vcrypto->multiqueue ? vcrypto->max_queues : 1; in virtio_crypto_device_unrealize()
1107 for (i = 0; i < max_queues; i++) { in virtio_crypto_device_unrealize()
1146 stl_le_p(&crypto_cfg.max_dataqueues, c->max_queues); in virtio_crypto_get_config()
1172 int queues = c->multiqueue ? c->max_queues : 1; in virtio_crypto_vhost_status()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-crypto.h92 uint32_t max_queues; member
/openbmc/qemu/backends/
H A Dcryptodev-vhost.c39 return crypto->dev.max_queues; in cryptodev_vhost_get_max_queues()
57 crypto->dev.max_queues = 1; in cryptodev_vhost_init()