]> git.openfabrics.org - ~emulex/infiniband.git/commit
ixgbevf: Fix statistics corruption
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 4 Jan 2013 07:37:31 +0000 (07:37 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 19 Jan 2013 12:41:57 +0000 (04:41 -0800)
commit088245a3584d13f94ff0b4c1610dae7d897b28f9
tree09e9344691df457a36fca6192760a7c4d3439609
parent6fe59675500760dd21ef8a339fa129f7adb596c8
ixgbevf: Fix statistics corruption

When the physical function (PF) is reset for any reason the statistics
collection in ixgbevf_update_stats needs to wait to update until after
the reset synchronization ensures that the PF driver is up and running
and is finished with its own reset.  Go ahead and clear the link flag to
indicate this when the control message from the PF is received.  The
reset synchronization and recovery in the watchdog task will eventually
set the link flag up when the PF has resumed.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c