aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorDmitry Bogdanov <[email protected]>2019-04-29 10:05:05 +0000
committerDavid S. Miller <[email protected]>2019-05-01 13:30:15 +0000
commitf55d477bb513c9267a46d7a795fb09f73084f76f (patch)
treeab08b03d99dbb8b348718d98ef19ca9a232dc19a /net/ipv4/tcp_input.c
parentnet: aquantia: fetch up to date statistics on ethtool request (diff)
downloadkernel-f55d477bb513c9267a46d7a795fb09f73084f76f.tar.gz
kernel-f55d477bb513c9267a46d7a795fb09f73084f76f.zip
net: aquantia: get total counters from DMA block
aq_nic_update_ndev_stats pushes statistics to ndev->stats from system interface. This is not always good because it counts packets/bytes before any of rx filters (including mac filter). Its better to report the packet/bytes statistics from DMA counters which gives actual values of data transferred over pci. System level stats is still available via ethtool. Signed-off-by: Nikita Danilov <[email protected]> Signed-off-by: Igor Russkikh <[email protected]> Signed-off-by: Dmitry Bogdanov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions