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 5B55FA32A2 for ; Fri, 25 Oct 2019 10:34:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 30DE11E8CF; Fri, 25 Oct 2019 10:34:14 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 794181E8BC for ; Fri, 25 Oct 2019 10:34:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2019 01:34:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,228,1569308400"; d="scan'208";a="210333788" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 25 Oct 2019 01:34:10 -0700 From: "zhang,yan" To: dts@dpdk.org Cc: "zhang,yan" Date: Fri, 25 Oct 2019 16:39:22 +0800 Message-Id: <1571992762-2353-1-git-send-email-yanx.a.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method 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" Modify the wrong matching method. Signed-off-by: zhang,yan --- tests/TestSuite_kernelpf_iavf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_kernelpf_iavf.py b/tests/TestSuite_kernelpf_iavf.py index 4424ae2..668eb28 100644 --- a/tests/TestSuite_kernelpf_iavf.py +++ b/tests/TestSuite_kernelpf_iavf.py @@ -144,7 +144,7 @@ class TestKernelpfIavf(TestCase): self.sriov_vfs_port = self.dut.ports_info[ self.used_dut_port]['vfs_port'] out = self.dut.send_expect('ethtool %s' % self.host_intf, '#') - self.speed = re.findall('Supported link modes: (\d*)', out)[0] + self.speed = re.findall('Speed: (\d*)', out)[0] if set_vf_mac is True: self.vf_mac = "00:01:23:45:67:89" self.dut.send_expect("ip link set %s vf 0 mac %s" % -- 2.17.2