Linux/linux 565020adrivers/net/ethernet/stmicro/stmmac dwmac4_core.c stmmac_main.c

net: stmmac: Disable ACS Feature for GMAC >= 4

ACS Feature is currently enabled for GMAC >= 4 but the llc_snap status
is never checked in descriptor rx_status callback. This will cause
stmmac to always strip packets even that ACS feature is already
stripping them.

Lets be safe and disable the ACS feature for GMAC >= 4 and always strip
the packets for this GMAC version.

Fixes: 477286b53f55 ("stmmac: add GMAC4 core support")
Signed-off-by: Jose Abreu <joabreu at synopsys.com>
Cc: David S. Miller <davem at davemloft.net>
Cc: Joao Pinto <jpinto at synopsys.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro at st.com>
Cc: Alexandre Torgue <alexandre.torgue at st.com>
Signed-off-by: David S. Miller <davem at davemloft.net>
DeltaFile
+0-7drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
+6-1drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+1-1drivers/net/ethernet/stmicro/stmmac/dwmac4.h
+7-93 files

UnifiedSplitRaw