test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Zhang, YanX A" <yanx.a.zhang@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Zhang, YanX A" <yanx.a.zhang@intel.com>
Subject: Re: [dts] [PATCH V1] tests/vf_to_vf_nic_bridge:disable promise mode to	forbid misc packets
Date: Mon, 15 Apr 2019 20:50:09 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA624BB@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1555298950-24890-1-git-send-email-yanx.a.zhang@intel.com>

Applied, This patch was supposed to be V2, thanks for your contribution, Could you please take more care of your version tag next time?

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
> Sent: Sunday, April 14, 2019 8:29 PM
> To: dts@dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/vf_to_vf_nic_bridge:disable promise mode to
> forbid misc packets
> 
> There will be some miscellaneous packetss appearing on the receiving port,
> and setting up command "set promisc all off" to forbidden packets
> 
> Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
> ---
>  tests/TestSuite_vf_to_vf_nic_bridge.py | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/TestSuite_vf_to_vf_nic_bridge.py
> b/tests/TestSuite_vf_to_vf_nic_bridge.py
> index 356795a..15b2ff9 100644
> --- a/tests/TestSuite_vf_to_vf_nic_bridge.py
> +++ b/tests/TestSuite_vf_to_vf_nic_bridge.py
> @@ -180,6 +180,7 @@ class TestVF2VFBridge(TestCase):
>          self.vm0_pmd = PmdOutput(self.vm0_dut)
>          self.vm0_pmd.start_testpmd('all')
>          self.vm0_pmd.execute_cmd('set fwd rxonly')
> +        self.vm0_pmd.execute_cmd("set promisc all off")
>          self.vm0_pmd.execute_cmd('start')
> 
>          self.vm1_ports = self.vm1_dut.get_ports('any') @@ -194,6 +195,7 @@
> class TestVF2VFBridge(TestCase):
>          load = {}
>          load['content'] = "'X'*46"
>          self.generate_pcap_pkt(dst, src, load)
> +        self.vm0_pmd.execute_cmd('clear port stats all')
>          self.send_stream_pktgen(self.vm1_dut)
>          recv_num = self.vm0_pmd.get_pmd_stats(0)['RX-packets']
>          time.sleep(1)
> --
> 2.17.2


  reply	other threads:[~2019-04-15 20:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-15  3:29 zhang,yan
2019-04-15 20:50 ` Tu, Lijuan [this message]
2019-04-16  0:58   ` Zhang, YanX A
  -- strict thread matches above, loose matches on Subject: below --
2019-04-15  3:17 zhang,yan

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=8CE3E05A3F976642AAB0F4675D0AD20E0BA624BB@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=yanx.a.zhang@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).