commit | 9f8a2203a542f5f3cdeb17f40250c49bb87aa7e3 | [log] [tgz] |
---|---|---|
author | Igor Russkikh <igor.russkikh@aquantia.com> | Thu Dec 14 12:34:43 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 15 12:46:42 2017 -0500 |
tree | 02bb97a52b0e7f591762f9c7296091b5f96ecbec | |
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>