From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 755FEA04DB; Thu, 15 Oct 2020 13:06:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D9CDA1E4B7; Thu, 15 Oct 2020 13:05:08 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 361E61E49B for ; Thu, 15 Oct 2020 13:05:03 +0200 (CEST) IronPort-SDR: 2FOrrrjhQYM/2aWkgo572z5P882XItiEAvKQhDO0K0eVRoFG54RoqX6GfuFYIDXtWAucHLz8h2 vw2zD7c28tJg== X-IronPort-AV: E=McAfee;i="6000,8403,9774"; a="166380504" X-IronPort-AV: E=Sophos;i="5.77,378,1596524400"; d="scan'208";a="166380504" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 04:04:59 -0700 IronPort-SDR: bMSf5wuq4SbB8bNnBGfZNXyuqMihWOIzBZ3OAhvZBhdBbl26Ajpk9E1oVBnyw/81k+7mn1DHrG I8lLvhUciQJA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,378,1596524400"; d="scan'208";a="346050684" Received: from silpixa00399126.ir.intel.com ([10.237.222.4]) by fmsmga004.fm.intel.com with ESMTP; 15 Oct 2020 04:04:57 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: david.marchand@redhat.com, arybchenko@solarflare.com, ferruh.yigit@intel.com, thomas@monjalon.net, bluca@debian.org, Bruce Richardson , Andrew Rybchenko Date: Thu, 15 Oct 2020 12:03:57 +0100 Message-Id: <20201015110359.706644-7-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201015110359.706644-1-bruce.richardson@intel.com> References: <20200916164429.244847-1-bruce.richardson@intel.com> <20201015110359.706644-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v4 6/8] devtools/test-null: load all drivers from directory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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