igb: remove sysfs entry that was used to set the number of vfs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 7 Apr 2009 14:37:52 +0000 (14:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2009 23:03:15 +0000 (16:03 -0700)
commit2a3abf6d17b6026a59e5cf7452d70ec1ad6a69fa
tree6cd19064d7da11d3f51da36e9336b2e696e98839
parentd4e0fe01a38a073568aee541a0247fe734095979
igb: remove sysfs entry that was used to set the number of vfs

This patch removes the sysfs entry num_vfs which was added to support
enabling pci virtual functions for 82576.

To prevent VFs from loading automatically a module parameter "max_vfs" was
added so that the number of VFs per PF can be limited.  This is especially
useful when 4 or more 82576 ports are on the system because otherwise to
load all VFs would result in 8 interface per physical port.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c