summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_ethtool.c
diff options
context:
space:
mode:
authorMitch Williams <mitch.a.williams@intel.com>2019-04-16 10:30:45 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-05-29 02:50:46 -0700
commit23c0112246b454e408fb0579b3f9089353d4d327 (patch)
tree2bdd234ee8bbf34520bf6f18c54b3312de45fb58 /drivers/net/ethernet/intel/ice/ice_ethtool.c
parentcbe66bfee6a0b781a7b334003f6d48a92a601164 (diff)
downloadlinux-23c0112246b454e408fb0579b3f9089353d4d327.tar.bz2
ice: Check all VFs for MDD activity, don't disable
Don't use the mdd_detected variable as an exit condition for this loop; the first VF to NOT have an MDD event will cause the loop to terminate. Instead just look at all of the VFs, but don't disable them. This prevents proper release of resources if the VFs are rebooted or the VF driver reloaded. Instead, just log a message and call out repeat offenders. To make it clear what we are doing, use a differently-named variable in the loop. Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_ethtool.c')
0 files changed, 0 insertions, 0 deletions