aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2013-11-09 04:52:32 -0800
committerDavid S. Miller <[email protected]>2013-11-11 00:19:36 -0500
commit170e85430bcbe4d18e81b5a70bb163c741381092 (patch)
tree5f599f0abec66a765d187025215564f57a831a4d /tools/perf/util/trace-event-scripting.c
parent0123713957a1977fcb5fc93173122d8af58e0c2c (diff)
ixgbe: add warning when max_vfs is out of range.
The max_vfs parameter has a limit of 63 and silently fails (adding 0 vfs) when it is out of range. This patch adds a warning so that the user knows something went wrong. Also, this patch moves the warning in ixgbe_enable_sriov() to where max_vfs is checked, so that even an out of range value will show the deprecated warning. Previously, an out of range parameter didn't even warn the user to use the new sysfs interface instead. Signed-off-by: Jacob Keller <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions