igb: Enable SR-IOV configuration via PCI sysfs interface
authorGreg Rose <[email protected]>
Thu, 17 Jan 2013 09:03:06 +0000 (01:03 -0800)
committerJeff Kirsher <[email protected]>
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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/igb/igb_main.c