patch 'dts: sniff only inbound packets' has been queued to stable release 25.11.1

Kevin Traynor ktraynor at redhat.com
Thu Mar 19 11:02:39 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/23/26. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/e36eff4700d4bfcae739f1e056aa97a96e7489dd

Thanks.

Kevin

---
>From e36eff4700d4bfcae739f1e056aa97a96e7489dd Mon Sep 17 00:00:00 2001
From: Patrick Robb <probb at iol.unh.edu>
Date: Tue, 10 Mar 2026 13:10:28 -0400
Subject: [PATCH] dts: sniff only inbound packets

[ upstream commit 372f2404c65bfca91fccd854ddec7a0c4b534968 ]

Add a filter to the Scapy traffic generator sniffer which
forces the sniffer to ignore outbound traffic, preventing
double counting of packets. Without this change sniffing
will double count packets when DTS is being run with a
single link topology, because the Scapy packet transmission
and Scapy sniffing is happening on the same port. The
correct behavior is to only count inbound traffic which is
being returned to the traffic generator by the DTS SUT.

Fixes: dfb667368077 ("dts: add Scapy asynchronous sniffer")

Signed-off-by: Patrick Robb <probb at iol.unh.edu>
Tested-by: Andrew Bailey <abailey at iol.unh.edu>
Reviewed-by: Andrew Bailey <abailey at iol.unh.edu>
---
 dts/framework/testbed_model/traffic_generator/scapy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dts/framework/testbed_model/traffic_generator/scapy.py b/dts/framework/testbed_model/traffic_generator/scapy.py
index 9e15a31c00..c6e9006205 100644
--- a/dts/framework/testbed_model/traffic_generator/scapy.py
+++ b/dts/framework/testbed_model/traffic_generator/scapy.py
@@ -204,5 +204,5 @@ class ScapyAsyncSniffer(PythonShell):
         self.send_command(
             "sniff("
-            f'iface="{recv_port.logical_name}", quiet=True, store=False, '
+            f'iface="{recv_port.logical_name}", filter="inbound", quiet=True, store=False, '
             "prn=lambda p: bytes_base64(p.build()).decode(), "
             f'started_callback=lambda: print("{ready_prompt}")'
-- 
2.53.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-19 10:01:08.324333083 +0000
+++ 0041-dts-sniff-only-inbound-packets.patch	2026-03-19 10:01:07.108183021 +0000
@@ -1 +1 @@
-From 372f2404c65bfca91fccd854ddec7a0c4b534968 Mon Sep 17 00:00:00 2001
+From e36eff4700d4bfcae739f1e056aa97a96e7489dd Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 372f2404c65bfca91fccd854ddec7a0c4b534968 ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list