ixgbe: Limit number of reported VFs to device specific value
authorDonald Dutile <[email protected]>
Tue, 11 Dec 2012 08:26:48 +0000 (08:26 +0000)
committerJeff Kirsher <[email protected]>
Wed, 23 Jan 2013 22:34:10 +0000 (14:34 -0800)
commit43dc4e0158a343e4f6dc400b925bf4a945f4978b
treefc4ca0aa34271891fc5bfe5bc46c8561ca7d9fb6
parentda36b64736cf2552e7fb5109c0255d4af804f5e7
ixgbe: Limit number of reported VFs to device specific value

ixgbe claims it supports 64 VFs in its SRIOV capability
structure, but the driver only supports 63.  Adjust it
so sysfs sriov configuration checking will check with
the proper totalvf value.

Signed-off-by: Donald Dutile <[email protected]>
Acked-by: Greg Rose <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Tested-by: Sibai Li <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c