Re: [PATCH net 6/6] net: stmmac: selftests: Don't test flow control for small rx fifos

From
Andrew Lunn <andrew@lunn.ch>
Date
2026-08-26 18:28:43
Also in
linux-arm-kernel, lkml
Reply to
Maxime Chevallier, 2026-08-26
On Wed, Aug 26, 2026 at 04:04:58PM +0200, Maxime Chevallier wrote:
On dwmac1000, dwmac4 and dwxgmac, we only emit pause frames if there's
at least 4096 bytes in each queue's fifo.

The phylink mac capabilities are still MAC_ASYM_PAUSE | MAC_SYM_PAUSE as
otherwise we won't be able to negotiate 'rx on' pause. ASYM only will
prevent negotiating 'rx off tx on', while SYM only doesn't really
matche the reality (not symmetric if we can only do RX pause).

Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support")
Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Thread (19 messages) 19 messages, 4 authors, last reply 2026-08-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help