]> Git Repo - linux.git/commit
ixgbe: Do not run all Diagnostic offline tests when VFs are active
authorGreg Rose <[email protected]>
Thu, 25 Mar 2010 17:06:48 +0000 (17:06 +0000)
committerDavid S. Miller <[email protected]>
Sat, 27 Mar 2010 15:33:21 +0000 (08:33 -0700)
commite7d481a6f3c13041446b7bb8f98ab861460076a3
tree5fd3e1d1d08ce6637df08937b4ad940322845b9e
parente017b60316468f21a63bdd4affefaf81a7f988fd
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 <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ixgbe/ixgbe_ethtool.c
This page took 0.043528 seconds and 4 git commands to generate.