diff options
author | Rajesh Borundia <[email protected]> | 2014-08-04 11:51:16 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-08-05 16:23:26 -0700 |
commit | a0eaf75c03712b491b7a840b5836c8f1e2a09277 (patch) | |
tree | 7a6429676a00dafdbd99da7f2abaf1f4f51ca8b3 /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | f2294eb59d5c3efa51acb3f42a7a382e9353bdc7 (diff) |
qlcnic: Fix update of ethtool stats.
o Aggregating tx stats in adapter variable was resulting in
an increase in stats even after no traffic was run and
user runs ifconfig/ethtool command.
o qlcnic_update_stats used to accumulate stats in adapter
struct at each function call, instead accumulate tx stats
in local variable and then assign it to adapter structure.
Reported-by: Holger Kiehl <[email protected]>
Signed-off-by: Rajesh Borundia <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions