commit | be08d839d9ef1c9b0e4ed809ec852ff100f9970d | [log] [tgz] |
---|---|---|
author | Igor Russkikh <igor.russkikh@aquantia.com> | Thu Dec 14 12:34:42 2017 +0300 |
committer | David S. Miller <davem@davemloft.net> | Fri Dec 15 12:46:41 2017 -0500 |
tree | ab61e7bccdf588746c705c85e79119c6d4944de9 | |
parent | 1e366161510f266516107a69db91f1f2edaea11c [diff] |
net: aquantia: Extend stat counters to 64bit values Device hardware provides only 32bit counters. Using these directly causes byte counters to overflow soon. A separate nic level structure with 64 bit counters is now used to collect incrementally all the stats and report these counters to ethtool stats and ndev stats. Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com> Signed-off-by: David S. Miller <davem@davemloft.net>