test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Liu, Yong" <yong.liu@intel.com>
To: Ding Heng <hengx.ding@intel.com>, dts@dpdk.org
Subject: Re: [dts] [PATCH] tests mac_filter: add set fwd mac to avoid broadcast storm in RRC card
Date: Tue, 17 Nov 2015 10:03:30 +0800	[thread overview]
Message-ID: <564A8AF2.4080409@intel.com> (raw)
In-Reply-To: <1447665896-12187-1-git-send-email-hengx.ding@intel.com>

Applied, Thanks.

On 11/16/2015 05:24 PM, Ding Heng wrote:
> Signed-off-by: Ding Heng <hengx.ding@intel.com>
>
> diff --git a/tests/TestSuite_mac_filter.py b/tests/TestSuite_mac_filter.py
> index 1749c62..1d4e77d 100644
> --- a/tests/TestSuite_mac_filter.py
> +++ b/tests/TestSuite_mac_filter.py
> @@ -58,6 +58,7 @@ class TestWhitelist(TestCase):
>           self.pmdout = PmdOutput(self.dut)
>           self.pmdout.start_testpmd("Default", "--portmask=%s" % portMask)
>           self.dut.send_expect("set verbose 1", "testpmd> ")
> +        self.dut.send_expect("set fwd mac", "testpmd> ")
>           self.dut.send_expect("start", "testpmd> ")
>   
>           # get dest address from self.target port
> @@ -105,6 +106,7 @@ class TestWhitelist(TestCase):
>           pre_rxpkt = dts.regexp(out, "TX-packets: ([0-9]+)")
>   
>           # send one packet with the portid MAC address
> +        self.dut.send_expect("clear port stats all", "testpmd> ")
>           self.whitelist_send_packet(portid, self.dest)
>           out = self.dut.send_expect("show port stats %d" % txportid, "testpmd> ")
>           cur_rxpkt = dts.regexp(out, "TX-packets: ([0-9]+)")

      reply	other threads:[~2015-11-17  2:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-16  9:24 Ding Heng
2015-11-17  2:03 ` 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=564A8AF2.4080409@intel.com \
    --to=yong.liu@intel.com \
    --cc=dts@dpdk.org \
    --cc=hengx.ding@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).