From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 55602A034F; Tue, 30 Mar 2021 11:24:42 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49348140DAC; Tue, 30 Mar 2021 11:24:42 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 8A38040691 for ; Tue, 30 Mar 2021 11:24:40 +0200 (CEST) IronPort-SDR: BFiEeR5SzfYjcBr6b1ePt/SD0DCTchxy2PH+6937+EPF346kv44iyufLMl23LNvN7cOzxHjId0 hKzuSrgqNf5Q== X-IronPort-AV: E=McAfee;i="6000,8403,9938"; a="189482849" X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="189482849" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 02:24:38 -0700 IronPort-SDR: Km1TiBOi+48HbrT4LxjUKxOvjgrCLvxf3esNo5j6OAb+i6ZLYO85Rjg1EFJzSMItmlFgTs93mE a8thVqh7ySmA== X-IronPort-AV: E=Sophos;i="5.81,290,1610438400"; d="scan'208";a="418088459" Received: from unknown (HELO localhost.localdomain) ([10.240.183.222]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2021 02:24:36 -0700 From: Ling Wei To: dts@dpdk.org Cc: Ling Wei Date: Tue, 30 Mar 2021 17:23:12 +0800 Message-Id: <20210330092312.323429-1-weix.ling@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dts] [PATCH V1] tests/dpdk_gro_lib: add bind ports of ports.cfg step 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 Sender: "dts" Add bind ports of ports.cfg step to avoid the effects on other testsuites. Signed-off-by: Ling Wei --- tests/TestSuite_dpdk_gro_lib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_dpdk_gro_lib.py b/tests/TestSuite_dpdk_gro_lib.py index efd04ffd..f5668ad4 100644 --- a/tests/TestSuite_dpdk_gro_lib.py +++ b/tests/TestSuite_dpdk_gro_lib.py @@ -483,6 +483,9 @@ class TestDPDKGROLib(TestCase): """ Run after each test suite. """ + for i in self.dut_ports: + port = self.dut.ports_info[i]['port'] + port.bind_driver(self.def_driver) self.unprepare_dpdk() self.dut.send_expect("ip netns del ns1", "# ", 30) self.dut.send_expect("./usertools/dpdk-devbind.py -u %s" % (self.pci), '# ', 30) -- 2.25.1