summary refs log tree commit diff
path: root/drivers/clk/mediatek/clk-mt2701-mm.c
diff options
context:
space:
mode:
authorIgor Russkikh <igor.russkikh@aquantia.com>2017-12-14 12:34:43 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-15 12:46:42 -0500
commit9f8a2203a542f5f3cdeb17f40250c49bb87aa7e3 (patch)
tree02bb97a52b0e7f591762f9c7296091b5f96ecbec /drivers/clk/mediatek/clk-mt2701-mm.c
parentbe08d839d9ef1c9b0e4ed809ec852ff100f9970d (diff)
downloadlinux-9f8a2203a542f5f3cdeb17f40250c49bb87aa7e3.tar.gz
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/clk/mediatek/clk-mt2701-mm.c')
0 files changed, 0 insertions, 0 deletions