igb: Enable SR-IOV configuration via PCI sysfs interface
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 17 Jan 2013 09:03:06 +0000 (01:03 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 18 Jan 2013 12:55:16 +0000 (04:55 -0800)
commitfa44f2f185f7f9da19d331929bb1b56c1ccd1d93
tree836c53e105232f90ca7cfd5ebbdfa3278573c878
parentb67e191307a3f330525265af3e2877a74d557cbf
igb: Enable SR-IOV configuration via PCI sysfs interface

Implement callback in the driver for the new PCI bus driver
interface that allows the user to enable/disable SR-IOV
virtual functions in a device via the sysfs interface.

Signed-off-by: Greg Rose <gregory.v.rose@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