Searched refs:max_queues (Results 1 – 10 of 10) sorted by relevance
| /openbmc/qemu/subprojects/libvhost-user/ |
| H A D | link-test.c | 36 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 D | libvhost-user-glib.h | 28 bool vug_init(VugDev *dev, uint16_t max_queues, int socket,
|
| H A D | libvhost-user-glib.c | 150 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 D | libvhost-user.c | 334 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 D | libvhost-user.h | 411 uint16_t max_queues; member 475 uint16_t max_queues,
|
| /openbmc/qemu/include/qemu/ |
| H A D | vhost-user-server.h | 40 int max_queues; member 60 uint16_t max_queues,
|
| /openbmc/qemu/util/ |
| H A D | vhost-user-server.c | 354 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 D | virtio-crypto.c | 1068 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 D | virtio-crypto.h | 92 uint32_t max_queues; member
|
| /openbmc/qemu/backends/ |
| H A D | cryptodev-vhost.c | 39 return crypto->dev.max_queues; in cryptodev_vhost_get_max_queues() 57 crypto->dev.max_queues = 1; in cryptodev_vhost_init()
|