* [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method
@ 2019-10-25 8:39 zhang,yan
2019-10-25 8:37 ` Zhu, WenhuiX
2019-11-04 3:19 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhang,yan @ 2019-10-25 8:39 UTC (permalink / raw)
To: dts; +Cc: zhang,yan
Modify the wrong matching method.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method
2019-10-25 8:39 [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method zhang,yan
@ 2019-10-25 8:37 ` Zhu, WenhuiX
2019-11-04 3:19 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Zhu, WenhuiX @ 2019-10-25 8:37 UTC (permalink / raw)
To: Zhang, YanX A, dts; +Cc: Zhang, YanX A
[-- Attachment #1: Type: text/plain, Size: 1237 bytes --]
Tested-by: Zhu, WenhuiX <wenhuix.zhu@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
Sent: Friday, October 25, 2019 4:39 PM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method
Modify the wrong matching method.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
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
[-- Attachment #2: TestKernelpfIavf.log --]
[-- Type: application/octet-stream, Size: 71380 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method
2019-10-25 8:39 [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method zhang,yan
2019-10-25 8:37 ` Zhu, WenhuiX
@ 2019-11-04 3:19 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-11-04 3:19 UTC (permalink / raw)
To: Zhang, YanX A, dts; +Cc: Zhang, YanX A
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
> Sent: Friday, October 25, 2019 4:39 PM
> To: dts@dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong
> matching method
>
> Modify the wrong matching method.
>
> Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-04 3:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-25 8:39 [dts] [PATCH V1] tests/TestSuite_kernelpf_iavf:Modify the wrong matching method zhang,yan
2019-10-25 8:37 ` Zhu, WenhuiX
2019-11-04 3:19 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).