igb: Change to use statically allocated array for MSIx entries
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Tue, 10 Dec 2013 07:58:34 +0000 (07:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 18 Dec 2013 06:43:14 +0000 (22:43 -0800)
commitcd14ef54d25bcf0b8e9205e75369e33b1d188417
tree887b05587af35d176f4657f5181910bb35e6c164
parent02ef6e1d0b00233a89d2c8bced880d8ea39603b6
igb: Change to use statically allocated array for MSIx entries

This patch changes how the driver initializes MSIx and checks
for MSIx configuration.  This change makes it easier to reconfigure the
device when queue changes happen at runtime using ethtool's set_channels
feature.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ethtool.c
drivers/net/ethernet/intel/igb/igb_main.c