test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: "Fan, ChangruX" <changrux.fan@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH] Fix reconfigure_ports failed issue
Date: Thu, 17 Sep 2015 08:48:49 +0000	[thread overview]
Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E10EF58B4@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <1442478656-42619-1-git-send-email-changrux.fan@intel.com>

Thanks. Applied.

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of changru
> Sent: Thursday, September 17, 2015 4:31 PM
> To: dts@dpdk.org
> Subject: [dts] [PATCH] Fix reconfigure_ports failed issue
> 
> If enable the CRC stripping mode. On 1G NICs, the packet received has the
> same length with the packet sent.
> 
> Signed-off-by: changru <changrux.fan@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 92ab67f..1661eea 100644
> --- a/tests/TestSuite_shutdown_api.py
> +++ b/tests/TestSuite_shutdown_api.py
> @@ -152,6 +152,9 @@ class TestShutdownApi(TestCase):
>                                  "powerville", "springville", "hartwell"]:
>                      self.verify(p1rx_bytes - 4 == pktSize,
>                                  "Wrong RX bytes CRC strip: p1_rx=%d,
> pktSize=%d" % (p1rx_bytes, pktSize))
> +                elif self.nic in ["powerville", "springville",
> "kawela_4"]:
> +                    self.verify(p1rx_bytes == pktSize,
> +                                "Wrong RX bytes CRC strip: p1_rx=%d,
> pktSize=%d" % (p1rx_bytes, pktSize))
>                  else:
>                      self.verify(p1rx_bytes == pktSize - 4,
>                                  "Wrong RX bytes CRC strip: p1_rx=%d,
> pktSize=%d" % (p1rx_bytes, pktSize))
> --
> 2.1.0

      reply	other threads:[~2015-09-17  8:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  8:30 changru
2015-09-17  8:48 ` 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=86228AFD5BCD8E4EBFD2B90117B5E81E10EF58B4@SHSMSX103.ccr.corp.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).