diff options
author | Igor Russkikh <igor.russkikh@aquantia.com> | 2017-12-14 12:34:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-15 12:46:42 -0500 |
commit | 9f8a2203a542f5f3cdeb17f40250c49bb87aa7e3 (patch) | |
tree | 02bb97a52b0e7f591762f9c7296091b5f96ecbec /drivers/misc/ad525x_dpot-spi.c | |
parent | be08d839d9ef1c9b0e4ed809ec852ff100f9970d (diff) |
net: aquantia: Fill ndev stat couters from hardware
Originally they were filled from ring sw counters.
These sometimes incorrectly calculate byte and packet amounts
when using LRO/LSO and jumboframes. Filling ndev counters from
hardware makes them precise.
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/ad525x_dpot-spi.c')
0 files changed, 0 insertions, 0 deletions