aboutsummaryrefslogtreecommitdiff
path: root/mm/early_ioremap.c
diff options
context:
space:
mode:
authorTony Nguyen2017-04-28 12:42:03 -0700
committerJeff Kirsher2017-05-31 04:38:23 -0700
commit6af3d0faede8b8c2ccd93f31d9f146ffd0b463d6 (patch)
treedafb7cb8bb6b279c9783734f263394e451229c2f /mm/early_ioremap.c
parent22cb4fff3d9756229f1e67987f4fabb57a8c68ca (diff)
ixgbe: Add error checking to setting VF MAC
Currently, when setting a VF MAC address there are no error checks to ensure that the MAC filter was successfully added. This patch adds additional error checks, reporting, and propagation of errors. It also will not set the MAC address unless adding the MAC filter was successful. With these changes, setting the mac address to zeros can no longer call ixgbe_set_vf_mac() as adding a zero MAC address filter is not valid. Instead directly delete the filter and, if successful, clear the MAC address. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'mm/early_ioremap.c')
0 files changed, 0 insertions, 0 deletions