igb: warn if max_vfs limit is exceeded
authorStefan Assmann <sassmann@redhat.com>
Thu, 24 Feb 2011 20:03:31 +0000 (20:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Mar 2011 10:47:23 +0000 (02:47 -0800)
commit9b082d734a938b951ed4b9b5a850ae3513d4a7e3
tree19b104db3c23dda7da62ca95be6cb8dcf04bd8ee
parentdc6ed1df5a5f84e45e77e2acb6fd99b995414956
igb: warn if max_vfs limit is exceeded

Currently there's no warning printed when max_vfs > 7 is specified with
igb and the maximum of 7 is silently enforced. This patch prints a
warning and informs the user of the actions taken.

Signed-off-by: Stefan Assmann <sassmann@redhat.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/igb/igb_main.c