patch 'test/pcapng: skip test if null driver missing' has been queued to stable release 23.11.7

Shani Peretz shperetz at nvidia.com
Tue Mar 31 08:25:07 CEST 2026


Hi,

FYI, your patch has been queued to stable release 23.11.7

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/05/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/shanipr/dpdk-stable

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

Thanks.

Shani

---
>From d3a7ed5a064d06ca6c95e88c19627275e746b97e Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Mon, 16 Feb 2026 13:38:04 -0800
Subject: [PATCH] test/pcapng: skip test if null driver missing

[ upstream commit 86641ef2845b59a0ecd8cf367ee326f76e74fddc ]

The pcapng test requires the net_null driver to create a virtual
device. If the null driver is excluded from the build, the test
fails with:

 RTE>>pcapng_autotest
  + ------------------------------------------------------- +
  + Test Suite : Test Pcapng Unit Test Suite
 Failed to create vdev 'net_null0'

Add net_null to the meson build dependency list for the test so
that it is automatically skipped when the driver is not available.

Fixes: 0c614a0fa6c6 ("test/pcapng: cleanup")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 app/test/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/test/meson.build b/app/test/meson.build
index dcc93f4a43..4197e43799 100644
--- a/app/test/meson.build
+++ b/app/test/meson.build
@@ -128,7 +128,7 @@ source_file_deps = {
     'test_metrics.c': ['metrics'],
     'test_mp_secondary.c': ['hash', 'lpm'],
     'test_net_ether.c': ['net'],
-    'test_pcapng.c': ['ethdev', 'net', 'pcapng', 'bus_vdev'],
+    'test_pcapng.c': ['net_null', 'net', 'ethdev', 'pcapng', 'bus_vdev'],
     'test_pdcp.c': ['eventdev', 'pdcp', 'net', 'timer', 'security'],
     'test_pdump.c': ['pdump'] + sample_packet_forward_deps,
     'test_per_lcore.c': [],
-- 
2.43.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-03-31 00:32:37.822452498 +0300
+++ 0108-test-pcapng-skip-test-if-null-driver-missing.patch	2026-03-31 00:32:29.854228000 +0300
@@ -1 +1 @@
-From 86641ef2845b59a0ecd8cf367ee326f76e74fddc Mon Sep 17 00:00:00 2001
+From d3a7ed5a064d06ca6c95e88c19627275e746b97e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 86641ef2845b59a0ecd8cf367ee326f76e74fddc ]
+
@@ -19 +20,0 @@
-Cc: stable at dpdk.org
@@ -27 +28 @@
-index 48874037eb..4fd8670e05 100644
+index dcc93f4a43..4197e43799 100644
@@ -30,2 +31,3 @@
-@@ -135,7 +135,7 @@ source_file_deps = {
-     'test_mp_secondary.c': ['hash'],
+@@ -128,7 +128,7 @@ source_file_deps = {
+     'test_metrics.c': ['metrics'],
+     'test_mp_secondary.c': ['hash', 'lpm'],
@@ -33 +34,0 @@
-     'test_net_ip6.c': ['net'],


More information about the stable mailing list