test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: changru <changrux.fan@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH] Debug failed case jumboframes_bigger_jumbo
Date: Thu, 17 Sep 2015 17:07:12 +0800	[thread overview]
Message-ID: <55FA82C0.305@intel.com> (raw)
In-Reply-To: <1442479870-42848-1-git-send-email-changrux.fan@intel.com>

Applied. Thanks.

On 09/17/2015 04:51 PM, changru wrote:
> On 1G NICs, when the jubmo frame MTU set as 9000, the software adjust it to 9004.
> So, we should send a 9005 bytes packet to test the jumboframes_bigger_jumbo case.
>
> Signed-off-by: changru <changrux.fan@intel.com>
> ---
>   tests/TestSuite_jumboframes.py | 10 ++++++++--
>   1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/tests/TestSuite_jumboframes.py b/tests/TestSuite_jumboframes.py
> index c5c70b9..5ad9e00 100644
> --- a/tests/TestSuite_jumboframes.py
> +++ b/tests/TestSuite_jumboframes.py
> @@ -208,8 +208,14 @@ class TestJumboframes(TestCase):
>               self.dut.send_expect("set promisc all off", "testpmd> ")
>               self.dut.send_expect("set fwd mac", "testpmd> ")
>           self.dut.send_expect("start", "testpmd> ")
> -
> -        self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 1, False)
> +
> +        """
> +        On 1G NICs, when the jubmo frame MTU set as 9000, the software adjust it to 9004.
> +        """
> +        if self.nic in ["powerville", "springville", "kawela_4"]:
> +            self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 4 + 1, False)
> +        else:
> +            self.jumboframes_send_packet(ETHER_JUMBO_FRAME_MTU + 1, False)
>   
>           self.dut.send_expect("quit", "# ", 30)
>   

      reply	other threads:[~2015-09-17  9:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  8:51 changru
2015-09-17  9:07 ` Liu, Yong [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=55FA82C0.305@intel.com \
    --to=yong.liu@intel.com \
    --cc=changrux.fan@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).