Re: [PATCH net-next 3/3] net: stmmac: dwmac-sun8i: configure the pause time for TX flow control

From: Nicolai Buchwitz

Date: Sun Nov 22 2026 - 10:58:58 EST


On 22.11.2026 15:49, Maxime Chevallier wrote:
When sending pause frames for flow control, we need to indicate the
number of quantums the peer should wait before sending more frames.

This is maintained in stmmac's "pause_time" global variable (it's a
module param).

Let's program the pause time value, and also allow sending the
zero-quanta pause frame when the peer can resume sending traffic.

Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>

[...]

Reviewed-by: Nicolai Buchwitz <nbb@xxxxxxxxxxx>

Thanks,
Nicolai