Home
last modified time | relevance | path

Searched refs:total_queues (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/backends/
H A Dcryptodev-vhost.c171 int cryptodev_vhost_start(VirtIODevice *dev, int total_queues) in cryptodev_vhost_start() argument
188 for (i = 0; i < total_queues; i++) { in cryptodev_vhost_start()
203 r = k->set_guest_notifiers(qbus->parent, total_queues, true); in cryptodev_vhost_start()
209 for (i = 0; i < total_queues; i++) { in cryptodev_vhost_start()
237 e = k->set_guest_notifiers(qbus->parent, total_queues, false); in cryptodev_vhost_start()
245 void cryptodev_vhost_stop(VirtIODevice *dev, int total_queues) in cryptodev_vhost_stop() argument
257 for (i = 0; i < total_queues; i++) { in cryptodev_vhost_stop()
264 r = k->set_guest_notifiers(qbus->parent, total_queues, false); in cryptodev_vhost_stop()
329 int cryptodev_vhost_start(VirtIODevice *dev, int total_queues) in cryptodev_vhost_start() argument
334 void cryptodev_vhost_stop(VirtIODevice *dev, int total_queues) in cryptodev_vhost_stop() argument
/openbmc/qemu/include/sysemu/
H A Dcryptodev-vhost.h37 int total_queues; member
113 int cryptodev_vhost_start(VirtIODevice *dev, int total_queues);
123 void cryptodev_vhost_stop(VirtIODevice *dev, int total_queues);
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c78 for (i = 0; i < alink->total_queues; i++) in nfp_abm_stats_update_mq()
235 for (i = 0; i < alink->total_queues; i++) { in nfp_abm_offload_compile_mq()
257 alink->total_queues); in nfp_abm_qdisc_offload_update()
764 TC_H_ROOT, opt->handle, alink->total_queues, in nfp_abm_mq_create()
H A Dmain.h211 unsigned int total_queues; member
H A Dmain.c327 alink->total_queues = alink->vnic->max_rx_rings; in nfp_abm_vnic_alloc()
/openbmc/qemu/hw/scsi/
H A Dvirtio-scsi.c1126 uint32_t total_queues = VIRTIO_SCSI_VQ_NUM_FIXED + in virtio_scsi_drained_begin() local
1142 for (uint32_t i = 0; i < total_queues; i++) { in virtio_scsi_drained_begin()
1154 uint32_t total_queues = VIRTIO_SCSI_VQ_NUM_FIXED + in virtio_scsi_drained_end() local
1168 for (uint32_t i = 0; i < total_queues; i++) { in virtio_scsi_drained_end()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c257 int total_queues, stride, stragglers, i; in ibmvnic_set_affinity() local
270 total_queues = num_rxqs + num_txqs; in ibmvnic_set_affinity()
273 stride = max_t(int, num_cpu / total_queues, 1); in ibmvnic_set_affinity()
275 stragglers = num_cpu >= total_queues ? num_cpu % total_queues : 0; in ibmvnic_set_affinity()
279 for (i = 0; i < total_queues; i++) { in ibmvnic_set_affinity()
4358 int total_queues; in init_sub_crqs() local
4362 total_queues = adapter->req_tx_queues + adapter->req_rx_queues; in init_sub_crqs()
4364 allqueues = kcalloc(total_queues, sizeof(*allqueues), GFP_KERNEL); in init_sub_crqs()
4368 for (i = 0; i < total_queues; i++) { in init_sub_crqs()
4385 for (i = 0; i < total_queues - registered_queues + more ; i++) { in init_sub_crqs()
/openbmc/qemu/hw/nvme/
H A Dctrl.c8242 static uint64_t nvme_mbar_size(unsigned total_queues, unsigned total_irqs, in nvme_mbar_size() argument
8248 bar_size = sizeof(NvmeBar) + 2 * total_queues * NVME_DB_SIZE; in nvme_mbar_size()