From: Lijuan Tu <lijuan.tu@intel.com>
To: wenjieli <wenjiex.a.li@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH V2] tests/shutdown_api: add sagepond support speed to change_linkspeed
Date: Tue, 30 Oct 2018 23:22:42 +0800 [thread overview]
Message-ID: <33dbbd04-8bda-9483-7fdd-af6766ba0310@intel.com> (raw)
In-Reply-To: <1540549459-14228-1-git-send-email-wenjiex.a.li@intel.com>
Applied, thanks
On 2018年10月26日 18:24, wenjieli wrote:
> Sagepond nic only support 1000baseT and 10000baseT, but the peer nic
> might support more speeds, sagepond could be set to unsupport mode; to
> avoid such issue, add sagepond support speed to change_linkspeed case.
>
> Signed-off-by: wenjieli <wenjiex.a.li@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 1282cf7..ba4c6cb 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -312,6 +312,9 @@ class TestShutdownApi(TestCase):
> elif self.nic in ["fortville_eagle"]:
> if config[0] != '10000':
> continue
> + elif self.nic in ["sagepond"]:
> + if config[0] != '1000' and '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,
prev parent reply other threads:[~2018-10-30 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-26 10:24 wenjieli
2018-10-30 15:22 ` Lijuan Tu [this message]
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=33dbbd04-8bda-9483-7fdd-af6766ba0310@intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=wenjiex.a.li@intel.com \
/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).