linux_dsm_epyc7002/drivers/net/stmmac
Giuseppe CAVALLARO a08070acd4 stmmac: fix Transmit Underflow error
On some old MAC chips without COE sometime the
Transmit Underflow error is issued.

The driver aborted all the transmission process
and initialized it from scratch.
This breaks the network activity as raised by Nachiketa
on a SPEAr board.

The patch is to fix this rare underflow event.
The driver will only clear the interrupt and the Tx
DMA will go out the Suspend state as soon as the
descriptor is fetched again.
The driver will continue to bump-up the DMA FIFO threshold
that, indeed, helped somebody to prevent this kind of error
in the past as well.

Reported-by: Nachiketa Prachanda <nprachanda@ncomputing.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-11 12:55:48 -07:00
..
common.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
descs.h stmmac: rename the gmac as dwmac1000 and split core and dma parts 2010-01-07 17:06:10 -08:00
dwmac100_core.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100_dma.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac100.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_core.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000_dma.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac1000.h stmmac: make function tables const 2010-10-16 11:13:25 -07:00
dwmac_dma.h stmmac: make ioaddr 'void __iomem *' rather than unsigned long 2010-08-25 16:30:51 -07:00
dwmac_lib.c stmmac: fixed dma lib build when turn-on the debug option 2011-04-11 12:55:47 -07:00
enh_desc.c stmmac: make function tables const 2010-10-16 11:13:25 -07:00
Kconfig drivers/net/stmmac/: add HAS_IOMEM dependency 2010-10-06 23:42:43 -07:00
Makefile stmmac: rework normal and enhanced descriptors 2010-04-14 04:49:50 -07:00
norm_desc.c Fix common misspellings 2011-03-31 11:26:23 -03:00
stmmac_ethtool.c net: Fix too optimistic NETIF_F_HW_CSUM features 2010-12-06 12:59:04 -08:00
stmmac_main.c stmmac: fix Transmit Underflow error 2011-04-11 12:55:48 -07:00
stmmac_mdio.c stmmac: tidy-up stmmac_priv structure 2010-11-24 11:14:24 -08:00
stmmac_timer.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
stmmac_timer.h stmmac: do not fail when the timer cannot be used. 2009-11-23 10:37:52 -08:00
stmmac.h stmmac: update the driver version 2010-11-24 11:14:25 -08:00