Home
last modified time | relevance | path

Searched refs:VIRTIO_SCSI_VQ_NUM_FIXED (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/hw/virtio/
H A Dvhost-user-scsi-pci.c61 virtio_pci_optimal_num_queues(VIRTIO_SCSI_VQ_NUM_FIXED); in vhost_user_scsi_pci_realize()
65 vpci_dev->nvectors = conf->num_queues + VIRTIO_SCSI_VQ_NUM_FIXED + 1; in vhost_user_scsi_pci_realize()
H A Dvhost-scsi-pci.c55 virtio_pci_optimal_num_queues(VIRTIO_SCSI_VQ_NUM_FIXED); in vhost_scsi_pci_realize()
59 vpci_dev->nvectors = conf->num_queues + VIRTIO_SCSI_VQ_NUM_FIXED + 1; in vhost_scsi_pci_realize()
H A Dvirtio-scsi-pci.c56 virtio_pci_optimal_num_queues(VIRTIO_SCSI_VQ_NUM_FIXED); in virtio_scsi_pci_realize()
60 vpci_dev->nvectors = conf->num_queues + VIRTIO_SCSI_VQ_NUM_FIXED + 1; in virtio_scsi_pci_realize()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-scsi.h38 #define VIRTIO_SCSI_VQ_NUM_FIXED 2 macro
/openbmc/qemu/hw/scsi/
H A Dvhost-user-scsi.c155 vsc->dev.nvqs = VIRTIO_SCSI_VQ_NUM_FIXED + vs->conf.num_queues; in vhost_user_scsi_connect()
282 VIRTIO_SCSI_VQ_NUM_FIXED + vs->conf.num_queues); in vhost_user_scsi_realize()
H A Dvirtio-scsi.c256 uint32_t n = virtio_get_queue_index(req->vq) - VIRTIO_SCSI_VQ_NUM_FIXED; in virtio_scsi_save_request()
1126 uint32_t total_queues = VIRTIO_SCSI_VQ_NUM_FIXED + in virtio_scsi_drained_begin()
1154 uint32_t total_queues = VIRTIO_SCSI_VQ_NUM_FIXED + in virtio_scsi_drained_end()
1212 s->conf.num_queues > VIRTIO_QUEUE_MAX - VIRTIO_SCSI_VQ_NUM_FIXED) { in virtio_scsi_common_realize()
1216 VIRTIO_QUEUE_MAX - VIRTIO_SCSI_VQ_NUM_FIXED); in virtio_scsi_common_realize()