[PATCH] test/eal: remove PCI probing for vdev tests

Bruce Richardson bruce.richardson at intel.com
Mon Feb 23 18:01:03 CET 2026


On Mon, Feb 23, 2026 at 04:56:03PM +0100, David Marchand wrote:
> Similarly to commit f67f76e6bbfd ("test/eal: remove PCI probing for
> recursive calls"), let's disable PCI probing in vdev tests as it
> triggers false positive failures in GHA.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>  app/test/test_eal_flags.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
> index bebddf1c98..06a605cce1 100644
> --- a/app/test/test_eal_flags.c
> +++ b/app/test/test_eal_flags.c
> @@ -422,17 +422,17 @@ test_invalid_vdev_flag(void)
>  
>  	/* Test with invalid vdev option */
>  	const char *vdevinval[] = {prgname, prefix, no_huge, eal_debug_logs,
> -				bus_debug_logs, vdev, "eth_dummy"};
> +				bus_debug_logs, no_pci, vdev, "eth_dummy"};
>  
>  	/* Test with valid vdev option */
>  	const char *vdevval1[] = {prgname, prefix, no_huge, eal_debug_logs,
> -				bus_debug_logs,	vdev, "net_ring0"};
> +				bus_debug_logs,	no_pci, vdev, "net_ring0"};
>  
>  	const char *vdevval2[] = {prgname, prefix, no_huge, eal_debug_logs,
> -				bus_debug_logs, vdev, "net_ring0,args=test"};
> +				bus_debug_logs, no_pci, vdev, "net_ring0,args=test"};
>  
>  	const char *vdevval3[] = {prgname, prefix, no_huge, eal_debug_logs,
> -				bus_debug_logs, vdev, "net_ring0,nodeaction=r1:0:CREATE"};
> +				bus_debug_logs, no_pci, vdev, "net_ring0,nodeaction=r1:0:CREATE"};
>  
>  	if (launch_proc(vdevinval) == 0) {
>  		printf("Error (line %d) - process did run ok with invalid vdev parameter\n",
> -- 
> 2.53.0
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list