https://github.com/torvalds/linux
Revision f3e2778429c2ad8555e888858e0f0e98c86c4b0f authored by Igor Russkikh on 14 December 2017, 09:34:46 UTC, committed by David S. Miller on 15 December 2017, 17:46:42 UTC
On very first start we should read out current HW counter values
to make diff based calculations later.
This also should be done each time NIC gets down/up or wakes up
after sleep state. We reset link state explicitly to prevent diffs
from being summed this first time.

Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent fdb4a08
History
Tip revision: f3e2778429c2ad8555e888858e0f0e98c86c4b0f authored by Igor Russkikh on 14 December 2017, 09:34:46 UTC
net: aquantia: Update hw counters on hw init
Tip revision: f3e2778
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.4 KB
.mailmap -rw-r--r-- 8.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 426.3 KB
Makefile -rw-r--r-- 58.3 KB
README -rw-r--r-- 722 bytes

README

back to top