diff options
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-06-20 10:53:48 -0400 |
---|---|---|
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | 2013-06-20 11:09:23 -0400 |
commit | 063a8096f3dbca7521d5918b3aea7ab46c5d2fe9 (patch) | |
tree | 24007515e6df6c7b78a100508884a5889a8ff789 /sound/firewire/cmp.h | |
parent | 03ea83e9a37e41d436f8348e6eee3d8281bfff3a (diff) |
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 'sound/firewire/cmp.h')
0 files changed, 0 insertions, 0 deletions