]> git.karo-electronics.de Git - linux-beck.git/commit
ixgbe: Refactor MSI-X allocation mechanism
authorPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Sun, 1 Feb 2009 09:18:58 +0000 (01:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Feb 2009 09:18:58 +0000 (01:18 -0800)
commiteb7f139ce523bfe03b1628c66d3e1d50f3c07196
treed41b641e1a94911aaddc22b63d3d470f6cfd3ef1
parent2f21bdd3542838dc5513a585a32aa13f01b019e7
ixgbe: Refactor MSI-X allocation mechanism

Our current MSI-X allocation mechanism does not support new hardware
at all.  It also isn't getting the actual number of supported MSI-X vectors
from the device.

This patch allows the number of MSI-X vectors to be specific to a device,
plus it gets the number of MSI-X vectors available from PCIe configuration
space.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_82598.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_type.h