From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
stable@dpdk.org, Thomas Monjalon <thomas@monjalon.net>,
Pablo de Lara <pablo.de.lara.guarch@intel.com>
Subject: [RFC] test/eal_flags: suppress vdev_netvsc auto-probe
Date: Sun, 22 Feb 2026 14:15:42 -0800 [thread overview]
Message-ID: <20260222221542.804546-1-stephen@networkplumber.org> (raw)
On Hyper-V systems (including Azure-hosted CI), the vdev_netvsc
driver auto-injects itself during vdev bus scan. This interferes
with the vdev flag test causing the nodeaction subprocess to fail.
Suppress by passing net_vdev_netvsc,ignore=1 in the valid vdev
test cases. The scan callback sees it already in devargs and
skips injection; the probe honours ignore and does nothing.
Fixes: 0d684a783088 ("app/test: fix and separate --vdev unit test")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/test/test_eal_flags.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
index bebddf1c98..1c0d8e040a 100644
--- a/app/test/test_eal_flags.c
+++ b/app/test/test_eal_flags.c
@@ -426,13 +426,16 @@ test_invalid_vdev_flag(void)
/* Test with valid vdev option */
const char *vdevval1[] = {prgname, prefix, no_huge, eal_debug_logs,
- bus_debug_logs, vdev, "net_ring0"};
+ bus_debug_logs, vdev, "net_ring0",
+ vdev, "net_vdev_netvsc,ignore=1"};
const char *vdevval2[] = {prgname, prefix, no_huge, eal_debug_logs,
- bus_debug_logs, vdev, "net_ring0,args=test"};
+ bus_debug_logs, vdev, "net_ring0,args=test",
+ vdev, "net_vdev_netvsc,ignore=1"};
const char *vdevval3[] = {prgname, prefix, no_huge, eal_debug_logs,
- bus_debug_logs, vdev, "net_ring0,nodeaction=r1:0:CREATE"};
+ bus_debug_logs, vdev, "net_ring0,nodeaction=r1:0:CREATE",
+ vdev, "net_vdev_netvsc,ignore=1"};
if (launch_proc(vdevinval) == 0) {
printf("Error (line %d) - process did run ok with invalid vdev parameter\n",
--
2.51.0
next reply other threads:[~2026-02-22 22:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-22 22:15 Stephen Hemminger [this message]
2026-02-23 2:49 ` [RFC] test/eal_flags: suppress vdev_netvsc auto-probe Stephen Hemminger
2026-02-23 17:00 ` Bruce Richardson
2026-02-23 17:10 ` Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260222221542.804546-1-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
--cc=pablo.de.lara.guarch@intel.com \
--cc=stable@dpdk.org \
--cc=thomas@monjalon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox