]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
r8169: improve statistics of missed rx packets
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 15 Feb 2020 13:54:14 +0000 (14:54 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Feb 2020 03:36:06 +0000 (19:36 -0800)
commit0da3359a4a21535467e098ff86c555c76a1afe4b
tree7398cb6330ba725cfc32f6ef8704f61c893303c1
parent9db0ac57bd3286fedcf43a86b29b847cea281cc7
r8169: improve statistics of missed rx packets

Register RxMissed exists on few early chip versions only, however all
chip versions have the number of missed RX packets in the hardware
counters. Therefore remove using RxMissed and get the number of missed
RX packets from the hardware stats.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c