Searched refs:nr_io_queues (Results 1 – 1 of 1) sorted by relevance
1642 int result, cpu, i, nr_io_queues, db_bar_size, q_depth, q_count; in nvme_setup_io_queues() local1644 nr_io_queues = num_online_cpus(); in nvme_setup_io_queues()1645 result = set_queue_count(dev, nr_io_queues); in nvme_setup_io_queues()1648 if (result < nr_io_queues) in nvme_setup_io_queues()1649 nr_io_queues = result; in nvme_setup_io_queues()1651 q_count = nr_io_queues; in nvme_setup_io_queues()1655 db_bar_size = 4096 + ((nr_io_queues + 1) << (dev->db_stride + 3)); in nvme_setup_io_queues()1663 for (i = 0; i < nr_io_queues; i++) in nvme_setup_io_queues()1666 result = pci_enable_msix(pdev, dev->entry, nr_io_queues); in nvme_setup_io_queues()1670 nr_io_queues = result; in nvme_setup_io_queues()[all …]