From: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
To: dts@dpdk.org
Cc: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
Subject: [dts] [PATCH V1] tests/shutdown_api: add judgment range to suit CVL 100G
Date: Tue, 19 Nov 2019 22:10:23 +0800 [thread overview]
Message-ID: <20191119141023.7354-1-xiaoxiaox.zeng@intel.com> (raw)
Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@intel.com>
---
tests/TestSuite_shutdown_api.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 63fff84..eb20583 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -314,10 +314,9 @@ class TestShutdownApi(TestCase):
self.pmdout.start_testpmd("Default", "--portmask=%s --port-topology=loop" % utils.create_mask(self.ports), socket=self.ports_socket)
self.dut.send_expect("set promisc all off", "testpmd>")
-
out = self.tester.send_expect(
"ethtool %s" % self.tester.get_interface(self.tester.get_local_port(self.ports[0])), "# ")
- if 'fortville_spirit' == self.nic:
+ if 'fortville_spirit' == self.nic or 'columbiaville' in self.nic :
result_scanner = r"([0-9]+)baseSR4/([A-Za-z]+)"
else:
result_scanner = r"([0-9]+)baseT/([A-Za-z]+)"
--
2.17.0
next reply other threads:[~2019-11-19 2:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 14:10 Xiaoxiao Zeng [this message]
2019-11-20 5:19 ` Ma, LihongX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191119141023.7354-1-xiaoxiaox.zeng@intel.com \
--to=xiaoxiaox.zeng@intel.com \
--cc=dts@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).