summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pasemi
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2012-04-17 04:29:29 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-05-02 02:12:59 -0700
commit6b42a9c5b51fa3cf1090037e33d39475f923e4b6 (patch)
treed0b473a2b0f2cb1cd7982b301f1177809705ff23 /drivers/net/ethernet/pasemi
parent2ee7065fdd7d3232e4accade2b5cace8af2c7d74 (diff)
downloadlinux-6b42a9c5b51fa3cf1090037e33d39475f923e4b6.tar.bz2
ixgbe: Reset max_vfs to zero when user request is out of range
If the user request for the number of VFs in the max_vfs parameter is out of range then reset the value to the default value of zero. This makes the behavior of the ixgbe driver the same as for the igb driver. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Tested-by: Robert Garrett <robertx.e.garrett@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
0 files changed, 0 insertions, 0 deletions