diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2014-09-03 08:12:57 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-09-18 03:57:09 -0700 |
commit | 3bcf344657afefdd468dd9c2b30a009ee7ce7abc (patch) | |
tree | 45bd5d215c5bd9ad2928561d518f401db297cbe6 /drivers/net/ethernet/adaptec | |
parent | 027bb561eff4a5c2185d3cbad6a41785eb50dded (diff) |
ixgbe: determine vector count inside ixgbe_acquire_msix_vectors
Our calculated v_budget doesn't matter except if we allocate MSI-X
vectors. We shouldn't need to calculate this outside of the function, so
don't. Instead, only calculate it once we attempt to acquire MSI-X
vectors. This helps collocate all of the MSI-X vector code together.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/adaptec')
0 files changed, 0 insertions, 0 deletions