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 44192A04DB; Thu, 15 Oct 2020 17:09:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AD62F1EA5E; Thu, 15 Oct 2020 17:07:24 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E716A1EA49 for ; Thu, 15 Oct 2020 17:07:19 +0200 (CEST) IronPort-SDR: KcBzHFBEnRN3Oq1halmaOzOQ9+FmVkOL3aaLdi44bO1+9IZwlojlGsxzxDtvl1kH5tUPAbER8+ p21L+rNWOOvg== X-IronPort-AV: E=McAfee;i="6000,8403,9775"; a="163746453" X-IronPort-AV: E=Sophos;i="5.77,379,1596524400"; d="scan'208";a="163746453" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2020 08:07:02 -0700 IronPort-SDR: Kt//45BC41Eo2zNnXcC9Znftrt7yZhHydEEeodAAHHB1Kp6MhYqn61dZ2RQfJ/N1vShvSryLrE pPzLd9JQXAyg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,379,1596524400"; d="scan'208";a="346144331" Received: from silpixa00399126.ir.intel.com ([10.237.222.4]) by fmsmga004.fm.intel.com with ESMTP; 15 Oct 2020 08:07:00 -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 16:05:52 +0100 Message-Id: <20201015150554.950838-7-bruce.richardson@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201015150554.950838-1-bruce.richardson@intel.com> References: <20200916164429.244847-1-bruce.richardson@intel.com> <20201015150554.950838-1-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 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