diff options
author | 2013-06-20 10:53:48 -0400 | |
---|---|---|
committer | 2013-06-20 11:09:23 -0400 | |
commit | 063a8096f3dbca7521d5918b3aea7ab46c5d2fe9 (patch) | |
tree | 24007515e6df6c7b78a100508884a5889a8ff789 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | NVMe: Use kzalloc instead of kmalloc+memset (diff) | |
download | linux-dev-063a8096f3dbca7521d5918b3aea7ab46c5d2fe9.tar.xz linux-dev-063a8096f3dbca7521d5918b3aea7ab46c5d2fe9.zip |
NVMe: Restructure MSI / MSI-X setup
The current code copies 'nr_io_queues' into 'q_count', modifies
'nr_io_queues' during MSI-X setup, then resets 'nr_io_queues' for
MSI setup. Instead, copy 'nr_io_queues' into 'vecs' and modify 'vecs'
during both MSI-X and MSI setup.
This lets us simplify the for-loops that set up MSI-X and MSI, and opens
the possibility of using more I/O queues than we have interrupt vectors,
should future benchmarking prove that to be a useful feature.
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions