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 595D8A0350; Tue, 30 Jun 2020 05:28:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2861F1BE91; Tue, 30 Jun 2020 05:28:52 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 4E3861BDAC for ; Tue, 30 Jun 2020 05:28:50 +0200 (CEST) IronPort-SDR: luEuFAUliD7aT4QCDZjxuDCUPoyigsJsPKkpycqDfOcyZnir+NF2YnWUeH7leVjTRNfCfrteJc Nz3fN+LKefmg== X-IronPort-AV: E=McAfee;i="6000,8403,9666"; a="146123337" X-IronPort-AV: E=Sophos;i="5.75,296,1589266800"; d="scan'208";a="146123337" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jun 2020 20:28:49 -0700 IronPort-SDR: wp5nYzboh+UzH90XGMXID8aK+7ATXZn7u33evHXuvRWFJ7RuyvtD46TOijEqq+tebk0bpQxBER xDNb38nvUdKA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,296,1589266800"; d="scan'208";a="265003685" Received: from dpdk-lihong-func.sh.intel.com ([10.67.119.97]) by fmsmga007.fm.intel.com with ESMTP; 29 Jun 2020 20:28:47 -0700 From: lihong To: lihongx.ma@intel.com Cc: dts@dpdk.org, Xie wei Date: Tue, 30 Jun 2020 12:19:08 +0000 Message-Id: <20200630121908.29211-1-lihongx.ma@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200629073031.7689-1-weix.xie@intel.com> References: <20200629073031.7689-1-weix.xie@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