Thread (15 messages) flat view 15 messages, 3 authors, 2026-01-19

RE: [PATCH net-next 1/1] selftests/net: Add packetdrill packetdrill cases

From: Chia-Yu Chang (Nokia) <hidden>
Date: 2026-01-14 16:13:00
Also in: bpf, linux-doc, linux-kselftest

-----Original Message-----
From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Sent: Wednesday, January 14, 2026 3:18 PM
To: Chia-Yu Chang (Nokia) <redacted>; Neal Cardwell <ncardwell@google.com>
Cc: pabeni@redhat.com; edumazet@google.com; parav@nvidia.com; linux-doc@vger.kernel.org; corbet@lwn.net; horms@kernel.org; dsahern@kernel.org; kuniyu@google.com; bpf@vger.kernel.org; netdev@vger.kernel.org; dave.taht@gmail.com; jhs@mojatatu.com; kuba@kernel.org; stephen@networkplumber.org; xiyou.wangcong@gmail.com; jiri@resnulli.us; davem@davemloft.net; andrew+netdev@lunn.ch; donald.hunter@gmail.com; ast@fiberby.net; liuhangbin@gmail.com; shuah@kernel.org; linux-kselftest@vger.kernel.org; ij@kernel.org; Koen De Schepper (Nokia) <redacted>; g.white@cablelabs.com; ingemar.s.johansson@ericsson.com; mirja.kuehlewind@ericsson.com; cheshire <redacted>; rs.ietf@gmx.at; Jason_Livingood@comcast.com; Vidhi Goel <redacted>; Willem de Bruijn <willemb@google.com>
Subject: RE: [PATCH net-next 1/1] selftests/net: Add packetdrill packetdrill cases

[You don't often get email from willemdebruijn.kernel@gmail.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.



Chia-Yu Chang (Nokia) wrote:
quoted
quoted
-----Original Message-----
From: Neal Cardwell <ncardwell@google.com>
Sent: Thursday, January 8, 2026 11:47 PM
To: Chia-Yu Chang (Nokia) <redacted>
Cc: pabeni@redhat.com; edumazet@google.com; parav@nvidia.com;
linux-doc@vger.kernel.org; corbet@lwn.net; horms@kernel.org;
dsahern@kernel.org; kuniyu@google.com; bpf@vger.kernel.org;
netdev@vger.kernel.org; dave.taht@gmail.com; jhs@mojatatu.com;
kuba@kernel.org; stephen@networkplumber.org;
xiyou.wangcong@gmail.com; jiri@resnulli.us; davem@davemloft.net;
andrew+netdev@lunn.ch; donald.hunter@gmail.com; ast@fiberby.net;
liuhangbin@gmail.com; shuah@kernel.org;
linux-kselftest@vger.kernel.org; ij@kernel.org; Koen De Schepper
(Nokia) [off-list ref];
g.white@cablelabs.com; ingemar.s.johansson@ericsson.com;
mirja.kuehlewind@ericsson.com; cheshire [off-list ref];
rs.ietf@gmx.at; Jason_Livingood@comcast.com; Vidhi Goel
[off-list ref]; Willem de Bruijn [off-list ref]
Subject: Re: [PATCH net-next 1/1] selftests/net: Add packetdrill
packetdrill cases


CAUTION: This is an external email. Please be very careful when clicking links or opening attachments. See the URL nok.it/ext for additional information.



On Thu, Jan 8, 2026 at 10:58 AM [off-list ref] wrote:
quoted
From: Chia-Yu Chang <redacted>

Linux Accurate ECN test sets using ACE counters and AccECN options
to cover several scenarios: Connection teardown, different ACK
conditions, counter wrapping, SACK space grabbing, fallback
schemes, negotiation retransmission/reorder/loss, AccECN option
drop/loss, different handshake reflectors, data with marking, and different sysctl values.

Co-developed-by: Ilpo Järvinen <ij@kernel.org>
Signed-off-by: Ilpo Järvinen <ij@kernel.org>
Co-developed-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
---
Chia-Yu, thank you for posting the packetdrill tests.

A couple thoughts:

(1) These tests are using the experimental AccECN packetdrill support that is not in mainline packetdrill yet. Can you please share the github URL for the version of packetdrill you used? I will work on merging the appropriate experimental AccECN packetdrill support into the Google packetdrill mainline branch.

(2) The last I heard, the tools/testing/selftests/net/packetdrill/
infrastructure does not run tests in subdirectories of that packetdrill/ directory, and that is why all the tests in tools/testing/selftests/net/packetdrill/ are in a single directory.
When you run these tests, do all the tests actually get run? Just
wanted to check this. :-)

Thanks!
neal
Hi Neal,

Regards (2), I will put all ACCECN cases in the
tools/testing/selftests/net/packetdrill/
But I would like to include another script to avoid running these AccECN tests one-by-one manually, does it make sense to you?
Thanks.
All scripts under tools/testing/selftests/net/packetdrill are already picked up for automated testing in kselftests:

https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=8a405552fd3b
OK, I was using ksft_runner.sh to run all 58 AccECN case one-by-one.

But since run_kselftest.sh can accept multiple "-t" arguments, so I will not commit another script with similar functionlaities but just rename all AccECN case with tcp_accecn in the prefix.

Thanks.

Chia-Yu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help