ixgbe: consolidate reporting of MSIX vectors into a single function
authorEmil Tantilov <emil.s.tantilov@intel.com>
Thu, 22 Mar 2012 03:00:29 +0000 (03:00 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 Apr 2012 07:27:19 +0000 (00:27 -0700)
commit7116130251200f00638f31a6e3b2232b80050c6b
treead90001d19d85da1ccd64dc0e688c2ae2371f915
parentfad59b0d3f43bfdc6a726ef83f5bc54920ae098f
ixgbe: consolidate reporting of MSIX vectors into a single function

This patch modifies ixgbe_get_pcie_msix_count_generic() to support
all current HW and removes the 82598 specific function.

- change the type of ixgbe_get_pcie_msix_count_generic() to u16
- include a check to make sure the maximum allowed number of vectors
is not exceeded.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
This page took 0.026603 seconds and 5 git commands to generate.