linux_dsm_epyc7002/drivers/net/ethernet
Mandeep Baines 0bdfea8ba8 forcedeth: Improve stats counters
Rx byte count was off; instead use the hardware's count.  Tx packet
count was counting pre-TSO packets; instead count on-the-wire packets.
Report hardware dropped frame count as rx_fifo_errors.

- The count of transmitted packets reported by the forcedeth driver
  reports pre-TSO (TCP Segmentation Offload) packet counts and not the
  count of the number of packets sent on the wire. This change fixes
  the forcedeth driver to report the correct count. Fixed the code by
  copying the count stored in the NIC H/W to the value reported by the
  driver.

- Count rx_drop_frame errors as rx_fifo_errors:
  We see a lot of rx_drop_frame errors if we disable the rx bottom-halves
  for too long.  Normally, rx_fifo_errors would be counted in this case.
  The rx_drop_frame error count is private to forcedeth and is not
  reported by ifconfig or sysfs.  The rx_fifo_errors count is currently
  unused in the forcedeth driver.  It is reported by ifconfig as overruns.
  This change reports rx_drop_frame errors as rx_fifo_errors.

Signed-off-by: David Decotigny <david.decotigny@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-11-07 13:31:24 -05:00
..
3com
8390
adaptec
adi
aeroflex
alteon
amd Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2011-11-03 13:28:14 -07:00
apple net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00
atheros
broadcom tg3: Update version to 3.121 2011-11-04 17:31:49 -04:00
brocade
cadence
chelsio
cirrus net/ethernet: Move mac89x0.c from apple to cirrus 2011-11-01 19:30:38 -04:00
cisco
davicom
dec
dlink
emulex be2net: Add detect UE feature for Lancer 2011-11-03 21:59:40 -04:00
faraday
freescale i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
fujitsu
hp
i825xx drivers/net/ethernet/i825xx/3c505.c: fix build with dynamic debug 2011-11-01 00:53:33 -04:00
ibm
icplus
intel ixgbe: Fix compile for kernel without CONFIG_PCI_IOV defined 2011-11-07 13:23:12 -05:00
marvell sky2: fix regression on Yukon Optima 2011-11-04 18:19:43 -04:00
mellanox Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2011-11-01 10:51:38 -07:00
micrel
microchip
myricom
natsemi i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
neterion
nuvoton
nvidia forcedeth: Improve stats counters 2011-11-07 13:31:24 -05:00
octeon
oki-semi
packetengines
pasemi
qlogic qlcnic: fix beacon and LED test. 2011-10-30 03:09:41 -04:00
racal
rdc
realtek net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
renesas
seeq
sfc
sgi
silan net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
sis
smsc
stmicro
sun
tehuti
ti
tile
toshiba
tundra
via
xilinx net: fix typo in drivers/net/ethernet/xilinx/ll_temac_main.c 2011-11-02 01:49:44 -04:00
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c
jme.h
Kconfig net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
korina.c
lantiq_etop.c
Makefile net/ethernet: sc92031 is not Realtek 2011-11-01 19:30:38 -04:00
mipsnet.c
netx-eth.c
s6gmac.c