diff options
author | Tony Nguyen <[email protected]> | 2016-07-13 10:33:16 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-07-22 01:52:08 -0700 |
commit | 6a11e52b6995b07a83a7d50e6301025ca35501be (patch) | |
tree | 9d0d92a2b03c8599bfe877e8ed92569771a0f2dd /lib/memory-notifier-error-inject.c | |
parent | 6e469ed03ed9b21b0c2dd46f77113a85f3e2bea6 (diff) |
ixgbevf: Add range checking for setting MTU
Currently when setting the VF's MTU, the PF can return a NACK but this
isn't passed on to the VF. Propagate the results from the PF to the VF
so errors can be reported.
In ixgbevf_change_mtu, return an error and reject the change.
For ixgbevf_configure_rx, log the error for debugging purposes since
the function is buried in a series of Rx config routines that are void.
Signed-off-by: Tony Nguyen <[email protected]>
Signed-off-by: Emil Tantilov <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions