igb: don't allow SR-IOV without MSI-X
authorMitch A Williams <mitch.a.williams@intel.com>
Thu, 20 Jun 2013 06:03:36 +0000 (06:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 22 Aug 2013 09:25:44 +0000 (02:25 -0700)
commit502671967403c611b362836aef8cdee65e9a626a
tree882a9eac560ff0c90d8c549e0b196811884d43c9
parent7f90128e246ea9827dd5ac532e49611aaf001892
igb: don't allow SR-IOV without MSI-X

MSI-X interrupts are required for SR-IOV operation. Check to make sure
they're enabled before allowing the user to turn on VFs.

Signed-off-by: Mitch Williams <mitch.a.williams@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_main.c