Searched refs:io_queues (Results 1 – 5 of 5) sorted by relevance
171 u32 io_queues[HCTX_MAX_TYPES]; member1444 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_tcp_default_queue()1454 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_read_queue()1455 ctrl->io_queues[HCTX_TYPE_READ]; in nvme_tcp_read_queue()1466 qid < 1 + ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_tcp_poll_queue()1467 ctrl->io_queues[HCTX_TYPE_READ] + in nvme_tcp_poll_queue()1468 ctrl->io_queues[HCTX_TYPE_POLL]; in nvme_tcp_poll_queue()1480 n = qid - ctrl->io_queues[HCTX_TYPE_DEFAULT] - 1; in nvme_tcp_set_queue_io_cpu()1482 n = qid - ctrl->io_queues[HCTX_TYPE_DEFAULT] - in nvme_tcp_set_queue_io_cpu()1483 ctrl->io_queues[HCTX_TYPE_READ] - 1; in nvme_tcp_set_queue_io_cpu()[all …]
128 u32 io_queues[HCTX_MAX_TYPES]; member168 queue->ctrl->io_queues[HCTX_TYPE_DEFAULT] + in nvme_rdma_poll_queue()169 queue->ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_poll_queue()753 ctrl->io_queues[HCTX_TYPE_READ] = nr_read_queues; in nvme_rdma_alloc_io_queues()754 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_READ]; in nvme_rdma_alloc_io_queues()755 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_rdma_alloc_io_queues()757 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_alloc_io_queues()764 ctrl->io_queues[HCTX_TYPE_DEFAULT] = in nvme_rdma_alloc_io_queues()766 nr_io_queues -= ctrl->io_queues[HCTX_TYPE_DEFAULT]; in nvme_rdma_alloc_io_queues()771 ctrl->io_queues[HCTX_TYPE_POLL] = in nvme_rdma_alloc_io_queues()[all …]
126 unsigned io_queues[HCTX_MAX_TYPES]; member456 map->nr_queues = dev->io_queues[i]; in nvme_pci_map_queues()1878 if (max != 1 && dev->io_queues[HCTX_TYPE_POLL]) { in nvme_create_io_queues()1879 rw_queues = dev->io_queues[HCTX_TYPE_DEFAULT] + in nvme_create_io_queues()1880 dev->io_queues[HCTX_TYPE_READ]; in nvme_create_io_queues()2284 dev->io_queues[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()2286 dev->io_queues[HCTX_TYPE_READ] = nr_read_queues; in nvme_calc_irq_sets()2306 dev->io_queues[HCTX_TYPE_POLL] = poll_queues; in nvme_setup_irqs()2312 dev->io_queues[HCTX_TYPE_DEFAULT] = 1; in nvme_setup_irqs()2313 dev->io_queues[HCTX_TYPE_READ] = 0; in nvme_setup_irqs()[all …]
81 int io_queues[HCTX_MAX_TYPES]; member638 vblk->io_queues[HCTX_TYPE_DEFAULT] = num_vqs - num_poll_vqs; in init_vq()639 vblk->io_queues[HCTX_TYPE_READ] = 0; in init_vq()640 vblk->io_queues[HCTX_TYPE_POLL] = num_poll_vqs; in init_vq()643 vblk->io_queues[HCTX_TYPE_DEFAULT], in init_vq()644 vblk->io_queues[HCTX_TYPE_READ], in init_vq()645 vblk->io_queues[HCTX_TYPE_POLL]); in init_vq()821 map->nr_queues = vblk->io_queues[i]; in virtblk_map_queues()965 if (vblk->io_queues[HCTX_TYPE_POLL]) in virtblk_probe()
32 #define ENA_MAX_MSIX_VEC(io_queues) (ENA_ADMIN_MSIX_VEC + (io_queues)) argument