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 CF058A0350; Tue, 30 Jun 2020 05:24:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7F1341BDAC; Tue, 30 Jun 2020 05:24:46 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 37D6E1B5E1 for ; Tue, 30 Jun 2020 05:24:45 +0200 (CEST) IronPort-SDR: Nux1HlLqsxZOVqlWJIIqW1kkMmxqnQfEw8TcApLuxzlZIEEvEYe9eFo0rwPs1+rzS7mD5sHdhh MMmFHAQDNupw== X-IronPort-AV: E=McAfee;i="6000,8403,9666"; a="125768811" X-IronPort-AV: E=Sophos;i="5.75,296,1589266800"; d="scan'208";a="125768811" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2020 20:24:44 -0700 IronPort-SDR: mts5+VCnTHvujVQn8X+Avq3x+1b8R1Cd838L+W9X82Ft3fxnKNJOhzu2O3Tkemvl8KtXhs6mip jSqNCp387qog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,296,1589266800"; d="scan'208";a="303292131" Received: from dpdk-lihong-func.sh.intel.com ([10.67.119.97]) by fmsmga004.fm.intel.com with ESMTP; 29 Jun 2020 20:24:43 -0700 From: lihong To: lihongx.ma@intel.com Cc: dts@dpdk.org, Xie wei Date: Tue, 30 Jun 2020 12:15:07 +0000 Message-Id: <20200630121507.29154-1-lihongx.ma@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <6FD6A7610D20924F885A4ECF34E8AC910462456B@CDSMSX102.ccr.corp.intel.com> References: <6FD6A7610D20924F885A4ECF34E8AC910462456B@CDSMSX102.ccr.corp.intel.com> Subject: Re: [dts] [PATCH] [PATCH V1] tests/port_control:change vm dpdk driver from igb_uio to vfio-pci X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 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" tested-by: Signed-off-by: Xie wei --- tests/TestSuite_port_control.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py index 1a588d3..147dc80 100644 --- a/tests/TestSuite_port_control.py +++ b/tests/TestSuite_port_control.py @@ -157,8 +157,8 @@ class TestPortControl(TestCase): terminal.send_expect("ifconfig %s hw ether %s" % (vf_if[1], self.vf_mac), "#") terminal.send_expect("ifconfig %s up" % vf_if[1], "#") terminal.send_expect("ip addr flush %s " % vf_if[1], "#") - terminal.send_expect("./usertools/dpdk-devbind.py -b igb_uio --force %s" % vf_pci[1], "#") - cmd = "./%s/app/testpmd -n 1 -w %s -- -i" % (self.target, vf_pci[1]) + terminal.send_expect("./usertools/dpdk-devbind.py -b vfio-pci --force %s" % vf_pci[1], "#") + cmd = "./%s/app/testpmd -n 1 -w %s --vfio-intr=legacy -- -i" % (self.target, vf_pci[1]) terminal.send_expect(cmd, "testpmd>", 10) def start_testpmd(self, terminal): @@ -171,6 +171,7 @@ class TestPortControl(TestCase): def start_pmd_port(self, terminal): terminal.execute_cmd("port start all") terminal.execute_cmd("start") + time.sleep(5) terminal.wait_link_status_up('all', timeout=5) ret = terminal.get_port_link_status(self.port_id_0) self.verify(ret == "up", "port not up!") -- 2.17.1