Re: [PATCH net v2 2/2] selftests: net: packetdrill: add ROCCET RTO test

From: Eric Dumazet

Date: Wed Nov 18 2026 - 05:05:54 EST


Le mer. 18 nov. 2026 à 03:28, Zhiqi Zhang <zhiqizhangg@xxxxxxxxx> a écrit :
>
> Add a packetdrill test for the ROCCET idle restart on RTO. TLP is
> enabled, so the first RTO is affected; the test asserts that
> tp->snd_ssthresh stays at the prior cwnd (20) across the first and
> second RTOs.
>
> The test fails at the first RTO without the preceding fix
> (snd_ssthresh == 10) and passes with it. A variant with
> tcp_early_retrans=0 (no TLP) fails at the second RTO only.
>
> CONFIG_TCP_CONG_ADVANCED and CONFIG_TCP_CONG_ROCCET are added to the
> packetdrill config; ROCCET is only visible when advanced congestion
> control is enabled.
>
> Test written by Eric Dumazet.
>
> Suggested-by: Eric Dumazet <edumazet@xxxxxxxxxx>
> Signed-off-by: Zhiqi Zhang <zhiqizhangg@xxxxxxxxx>

Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>