test suite reviews and discussions
 help / color / mirror / Atom feed
From: lijuan tu <lijuanx.a.tu@intel.com>
To: dts@dpdk.org
Subject: [dts] [patch] fix ironpond change_linkspeed bug ironpond just support speed 1000/10000M, not support 100M Signed-off-by: lijuan tu <lijuanx.a.tu@intel.com>
Date: Thu, 15 Oct 2015 12:17:29 +0800	[thread overview]
Message-ID: <1444882649-3394-1-git-send-email-lijuanx.a.tu@intel.com> (raw)

Signed-off-by: lijuan tu <lijuanx.a.tu@intel.com>
---
 tests/TestSuite_shutdown_api.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py
index 05cce31..37c2481 100644
--- a/tests/TestSuite_shutdown_api.py
+++ b/tests/TestSuite_shutdown_api.py
@@ -312,6 +312,9 @@ class TestShutdownApi(TestCase):
         configs = m[:-(len(m) / 2)]
         for config in configs:
             print config
+            if self.nic in ["ironpond"]:
+                if config[0] != '1000' or '10000':
+                    continue
             self.dut.send_expect("port stop all", "testpmd> ", 100)
             for port in self.ports:
                 self.dut.send_expect("port config %d speed %s duplex %s" % (port,
-- 
2.1.0

             reply	other threads:[~2015-10-15  4:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15  4:17 lijuan tu [this message]
2015-10-20  2:22 ` Liu, Yong

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=1444882649-3394-1-git-send-email-lijuanx.a.tu@intel.com \
    --to=lijuanx.a.tu@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).