diff options
author | Greg Rose <gregory.v.rose@intel.com> | 2010-03-25 17:06:48 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-27 08:33:21 -0700 |
commit | e7d481a6f3c13041446b7bb8f98ab861460076a3 (patch) | |
tree | 5fd3e1d1d08ce6637df08937b4ad940322845b9e /init | |
parent | e017b60316468f21a63bdd4affefaf81a7f988fd (diff) |
ixgbe: Do not run all Diagnostic offline tests when VFs are active
When running the offline diagnostic tests check to see if any VFs are
online. If so then only run the link test. This is necessary because
the VFs running in guest VMs aren't aware of when the PF is taken
offline for a diagnostic test. Also put a message to the system log
telling the system administrator to take the VFs offline manually if
(s)he wants to run a full diagnostic. Return 1 on each of the tests
not run to alert the user of the condition.
Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions