[dpdk-dev] [PATCH v4 6/8] devtools/test-null: load all drivers from directory

Bruce Richardson bruce.richardson at intel.com
Thu Oct 15 13:03:57 CEST 2020


Rather than specifying specific drivers in the driver directory to load, we
can just pass in the whole driver directory to the "-d" EAL flag, causing
all drivers to load. This makes the load of driver independent of any
specific driver names.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 devtools/test-null.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devtools/test-null.sh b/devtools/test-null.sh
index 548de8113..1a6950f39 100755
--- a/devtools/test-null.sh
+++ b/devtools/test-null.sh
@@ -21,7 +21,7 @@ fi
 
 if ldd $testpmd | grep -q librte_ ; then
 	export LD_LIBRARY_PATH=$build/drivers:$build/lib:$LD_LIBRARY_PATH
-	libs='-d librte_mempool_ring.so -d librte_pmd_null.so'
+	libs="-d $build/drivers"
 else
 	libs=
 fi
-- 
2.25.1



More information about the dev mailing list