Article View: linux.kernel.netdev
Article #1576Re: [PATCH net v3 3/3] selftests: net: packetdrill: test RTO fallback after partial undo
From: Eric Dumazet
Date: Sat, 10 Oct 2026 06:25
Date: Sat, 10 Oct 2026 06:25
26 lines
7415 bytes
7415 bytes
Le ven. 9 oct. 2026 ร 19:15, Neal Cardwell <ncardwell.sw@gmail.com> a รฉcrit :
>
> From: Neal Cardwell <ncardwell@google.com>
>
> On Fri, Oct 9, 2026 at 1:47#AM Eric Dumazet <edumazet@kernel.org> wrote:
>
> > Let me come back to tp->tsorted_lost_queue [1]. I was too terse there
> > ("often") and it did not get discussed.
>
> Thanks, Eric. Given that you are OK with the space overhead for a new
> tp->tsorted_lost_queue field, I think it would be quite nice to use your
> suggested approach, since it should give us better loss recovery behavior.
>
> FWIW, I asked an LLM to code up your idea, and below is what it came up with,
> in case that is useful for discussion or using. It also proposed 2 packetdrill
> tests (one that claims "This is the case that Eric suggested for segments with
> TCPCB_EVER_RETRANS."), which I can post if there is interest.
>
Excellent, thanks Neal. I will take a deeper look on Monday.
Technical Details
Message-ID:
<CAL4Wiir8_sh3pS=DGTG=iqLstnHbxf0dWQgk0O0b0oferN69=w@mail.gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344071-linux-kernel-netdev=dewy.ruReferences:
<CAL4Wiip9RyA-2=p0SVwBcn-oe0864FqqF3QMTCX_7=+ErcJp6Q@mail.gmail.com> <20261009171447.291802-1-ncardwell.sw@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344071-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 3/3] selftests: net: packetdrill: test RTO fallback
after partial undo
Date: Sat, 10 Oct 2026 08:25:52 +0200
Organization: Usenet Network
Message-ID: <CAL4Wiir8_sh3pS=DGTG=iqLstnHbxf0dWQgk0O0b0oferN69=w@mail.gmail.com>
References: <CAL4Wiip9RyA-2=p0SVwBcn-oe0864FqqF3QMTCX_7=+ErcJp6Q@mail.gmail.com>
<20261009171447.291802-1-ncardwell.sw@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="1271502"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hkn8zbcLnqjZgtHO4t9pFfAsbH4= sha256:9mIo6jYUR7UFbSKpqHJ6VxvfdRawmV2q8sUQjRvqdt8=
sha1:GEqo1yMqGnZ0HcD4Xd5oYUT4XCA= sha256:9Gfdk1v3rvM1nF+1rAAwaMu7qArSCcgWus+PWOtTiBQ=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id A330610F85E; Sat, 10 Oct 2026 09:26:18 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.641
X-Spam-Status: No, score=-3.641 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id dmMrpqoaB8SD;
Sat, 10 Oct 2026 09:26:15 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-344071-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
by mail.dewy.ru (Postfix) with ESMTPS id 5C19710F855; Sat, 10 Oct 2026 09:26:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by tor.lore.kernel.org (Postfix) with ESMTP id 6A5BC2BBF3; Sat, 10 Oct 2026 06:26:08 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id A40253DE43B;
Sat, 10 Oct 2026 06:26:05 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aWrOt/mH"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA73E361941
for <netdev@vger.kernel.org>; Sat, 10 Oct 2026 06:26:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791613565; cv=none; b=QOQE0OganYr0LM0+287R8juHCHQLRAOIDurmj7HjNM8eg8WnzenrlqbGP639NlO/t8pIkxUlzqAyJAaUn1x8eXLwAx0GVROrpIasm0jR1MlpfKjw4C1bh9SoF+OGtZW08acbhuyfelGLqspIiCIQYUlPP5bemW46a2vvUI/rGDw=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791613565; c=relaxed/simple;
bh=/VwFVEy1ksMMQ3bDcdEpkKJrBuTWhaaB1+PgMhDl+NI=;
h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject:
To:Cc:Content-Type; b=oMCbfGfwZoih3msk/gHycfr7Cb5FN27PLFxD18zvDtnYmm00E2I5nVMwiSc74V6FEws4Yw3r9oZiTBoBjihcwDsLEkssFpVaiN4nrMJrtyv9n50svN+eP4WucoG/2/TBo2At4b9TjZXBtC85/7+aoHNGxsk2MLa4/bfCZtVjToo=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aWrOt/mH; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5133B1F008A0
for <netdev@vger.kernel.org>; Sat, 10 Oct 2026 06:26:04 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
s=k20260515; t=1791613564;
bh=/VwFVEy1ksMMQ3bDcdEpkKJrBuTWhaaB1+PgMhDl+NI=;
h=References:In-Reply-To:From:Date:Subject:To:Cc;
b=aWrOt/mHYDK1fRzSEWkvZcJWJfDgy8A+sFPJ1h/jBwJR8SD+f0cufmBh6w63N0dEL
1ILNheCdWPUdTstwTTjrmwB7h0l7zk2lpJjUpIQVEo3nYsYgFTRFDG8Qg6qCHMg/41
/oo5fMVe6TjANwCTu47Uqxq27autStv7XcA1FmQ2BDurby8i+af2KZOG/J335Sj+1d
+BRVEjRnvbXd4uKg7glwrEU+hPKvfHyoLMX/wodh5H1h6zMnCDZGxWXuHz8GwjRXq8
qS/VRjVsDLvagqBdAzui153F7bMXn3w6S03s6UoQ70VKHVZkkDSQSAAC19Vy6Puf8K
CAIrdqa8O5Kvg==
X-Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-483c607ccb4so337501fac.0
for <netdev@vger.kernel.org>; Fri, 09 Oct 2026 23:26:04 -0700 (PDT)
X-Forwarded-Encrypted: i=1; AKwUvBy/oDghx7m3cRYT2vl8vZh3/rgoz4udaW20uO3v2BZHbFvK7jTbUPdWfNLrXPNA/p6nLK1+1MA=@vger.kernel.org
X-Gm-Message-State: AFq9FYKCyZickN7V8w1b2pksoWGfFVx4wHv+leM3ebbLBFxgX2PWJdhA
wa9ZDBZPv1fd5qeX22G92kt7h5Oe94zzmrRVs/FkG7+mDvLjlm5cYuMpx1I7rLGt2DM8LCXtn/a
0SMo8XBHH+Ao6BhKZW4b++ydeKheUFqc=
X-Received: by 2002:a05:6870:c272:b0:47c:2737:edd0 with SMTP id
586e51a60fabf-4a2a86c4673mr3263725fac.1.1791613563536; Fri, 09 Oct 2026
23:26:03 -0700 (PDT)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261009171447.291802-1-ncardwell.sw@gmail.com>
X-Gmail-Original-Message-ID: <CAL4Wiir8_sh3pS=DGTG=iqLstnHbxf0dWQgk0O0b0oferN69=w@mail.gmail.com>
X-Gm-Features: AclHuK8OXj7pbT2oTIRY8DcZBjiXkMGrnNSUYf07pfEkmQ7cCLqcw1rz21aj6Ok
X-Cc: davem@davemloft.net, horms@kernel.org, jiayuan.chen@linux.dev,
kuba@kernel.org, kuniyu@google.com, linux-kernel@vger.kernel.org,
linux-kselftest@vger.kernel.org, ncardwell@google.com, netdev@vger.kernel.org,
nramaswamy@openai.com, pabeni@redhat.com, shuah@kernel.org, ycheng@google.com