From patchwork Fri Aug 25 15:28:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiale, SongX" X-Patchwork-Id: 130740 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C56CD430FD; Fri, 25 Aug 2023 09:20:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B942942D13; Fri, 25 Aug 2023 09:20:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 8D4A743251 for ; Fri, 25 Aug 2023 09:20:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692948002; x=1724484002; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=xItopuW6845fCditKpIHGmsBM1ezx1Ma9KtrgiimvXk=; b=hGsDaCPLKWAPTSNLa2UUkPGNrf8bXkrX0y7syijKzcDFgJTWu4oajEvo icMkr7G8IQT5HfQjZrbcPWiAmcmmFD2dKs43s4dJxc5WqDb7doZIFLMf8 HvMsjCmT5BLmUqG7XPlZJ+thnty9Fdxj2Dl4fcmKgU+Ab4C6Wfd8wl8Nr NS0AUkwobsfrfhbd/xDmh2HyV2i7kwq4mYdSvcMRqarokeTeOoujcuhtX T7D4I4ZxNUGl+COTe5Xgq38dLWJCGQThDlff5iiiEVzzlKL25B7fYCcal lacug8zgztjP3Xnvth9OyIa0dAq1jfwindrO+XSmzE6Z10dsGOgYlS09c A==; X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="405654484" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="405654484" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 00:20:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10812"; a="802869656" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="802869656" Received: from unknown (HELO localhost.localdomain) ([10.239.252.96]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 00:20:00 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Subject: [dts] [PATCH V2 7/9] framework/project_dpdk: optimize methods to adapt to MEV testing Date: Fri, 25 Aug 2023 15:28:23 +0000 Message-Id: <20230825152825.2831565-8-songx.jiale@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230825152825.2831565-1-songx.jiale@intel.com> References: <20230825152825.2831565-1-songx.jiale@intel.com> MIME-Version: 1.0 X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org optimize methods to adapt to MEV testing. Signed-off-by: Jiale Song --- framework/project_dpdk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py index 3f34ee02..919f25c9 100644 --- a/framework/project_dpdk.py +++ b/framework/project_dpdk.py @@ -77,6 +77,7 @@ class DPDKdut(Dut): # example apps by themselves and will fail otherwise. self.send_expect("export RTE_TARGET=" + self.target, "#") self.send_expect("export RTE_SDK=`pwd`", "#") + self.send_expect("export LD_LIBRARY_PATH=/usr/lib/", "#") def setup_modules(self, target, drivername, drivermode): """ @@ -421,7 +422,7 @@ class DPDKdut(Dut): bind_script_path = self.get_dpdk_bind_script() return self.send_expect( - "%s --force %s" % (bind_script_path, binding_list), "# " + "%s --force %s" % (bind_script_path, binding_list), "# ", timeout=60 ) def unbind_interfaces_linux(self, nics_to_bind=None):