linux-kernel-test/drivers/net/ixgbevf
Greg Rose 33bd9f601e ixgbevf: Fix VF Stats accounting after reset
The counters in the 82599 Virtual Function are not clear on read.  They
accumulate to the maximum value and then roll over.  They are also not
cleared when the VF executes a soft reset, so it is possible they are
non-zero when the driver loads and starts.  This has all been accounted
for in the code that keeps the stats up to date but there is one case
that is not.  When the PF driver is reset the counters in the VF are
all reset to zero.  This adds an additional accounting overhead into
the VF driver when the PF is reset under its feet.  This patch adds
additional counters that are used by the VF driver to accumulate and
save stats after a PF reset has been detected.  Prior to this patch
displaying the stats in the VF after the PF has reset would show
bogus data.

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>
2010-03-19 21:00:44 -07:00
..
defines.h
ethtool.c ixgbevf: Fix VF Stats accounting after reset 2010-03-19 21:00:44 -07:00
ixgbevf_main.c ixgbevf: Fix VF Stats accounting after reset 2010-03-19 21:00:44 -07:00
ixgbevf.h ixgbevf: Driver main and ethool interface module and main header 2010-01-10 13:34:22 -08:00
Makefile ixgbevf: Driver Makefile 2010-01-10 13:34:23 -08:00
mbx.c ixgbevf: Mailbox communication 2010-01-10 13:34:21 -08:00
mbx.h ixgbevf: Mailbox communication 2010-01-10 13:34:21 -08:00
regs.h
vf.c
vf.h ixgbevf: Fix VF Stats accounting after reset 2010-03-19 21:00:44 -07:00