diff options
author | Michael Chan <mchan@broadcom.com> | 2010-01-17 08:30:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-01-18 04:16:03 +0100 |
commit | 354fcd7774a00809ebefdba75e747364cb22a940 (patch) | |
tree | 5608a763f03b1af9ba8650c9a1e99f5546eb0797 /drivers/net/qla3xxx.c | |
parent | bnx2: Refine statistics code. (diff) | |
download | linux-354fcd7774a00809ebefdba75e747364cb22a940.tar.xz linux-354fcd7774a00809ebefdba75e747364cb22a940.zip |
bnx2: Save statistics during reset.
MTU changes, ring size changes, etc cause the chip to be reset and the
statisctics flushed. To keep track of the accumulated statistics, we
add code to save the whole statistics block before reset. We also
modify the macros and statistics functions to return the sum of the
saved and current counters.
Based on original patch by Breno Leitao <leitao@linux.vnet.ibm.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qla3xxx.c')
0 files changed, 0 insertions, 0 deletions