test suite reviews and discussions
 help / color / mirror / Atom feed
From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Xiao, QimaiX" <qimaix.xiao@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Xiao, QimaiX" <qimaix.xiao@intel.com>
Subject: Re: [dts] [PATCH V1] update flow_classify_softnic to reduce runtime
Date: Mon, 13 May 2019 02:30:56 +0000	[thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA7FA16@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1556446370-16506-1-git-send-email-qimaix.xiao@intel.com>

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xiao,qimai
> Sent: Sunday, April 28, 2019 6:13 PM
> To: dts@dpdk.org
> Cc: Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: [dts] [PATCH V1] update flow_classify_softnic to reduce runtime
> 
> optimize function of send package with scapy
> 
> Signed-off-by: xiao,qimai <qimaix.xiao@intel.com>
> ---
>  tests/TestSuite_flow_classify_softnic.py | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/TestSuite_flow_classify_softnic.py
> b/tests/TestSuite_flow_classify_softnic.py
> index c98e8d0..9b339ca 100644
> --- a/tests/TestSuite_flow_classify_softnic.py
> +++ b/tests/TestSuite_flow_classify_softnic.py
> @@ -275,7 +275,7 @@ class TestFlowClassifySoftnic(TestCase):
>                      packet = r'sendp([Ether(dst="%s",
> src=get_if_hwaddr("%s"))/IP(src="%s.%d", dst="%s",
> proto=17)/UDP(sport=100, dport=200)], iface="%s")' % (
>                          self.dut_p0_mac, itf, ipaddr, i, dst_addr, itf)
>                      self.tester.scapy_append(packet)
> -                    self.tester.scapy_execute()
> +                self.tester.scapy_execute()
>              elif ptype == "ipv6":
>                  var = src_addr.split(":")
>                  string = ":"
> @@ -287,7 +287,7 @@ class TestFlowClassifySoftnic(TestCase):
>                      packet = r'sendp([Ether(dst="%s",
> src=get_if_hwaddr("%s"))/IPv6(src="%s:%d", dst="%s", nh=17)/UDP(sport=100,
> dport=200)], iface="%s")' % (
>                          self.dut_p0_mac, itf, ipaddr, i, dst_addr, itf)
>                      self.tester.scapy_append(packet)
> -                    self.tester.scapy_execute()
> +                self.tester.scapy_execute()
> 
>          elif src_dst == "dst":
>              if ptype == "ipv4":
> @@ -298,7 +298,7 @@ class TestFlowClassifySoftnic(TestCase):
>                      packet = r'sendp([Ether(dst="%s",
> src=get_if_hwaddr("%s"))/IP(src="%s", dst="%s.%d",
> proto=17)/UDP(sport=100, dport=100)], iface="%s")' % (
>                          self.dut_p0_mac, itf, src_addr, ipaddr, i, itf)
>                      self.tester.scapy_append(packet)
> -                    self.tester.scapy_execute()
> +                self.tester.scapy_execute()
>              elif ptype == "ipv6":
>                  var = dst_addr.split(":")
>                  string = ":"
> @@ -310,7 +310,7 @@ class TestFlowClassifySoftnic(TestCase):
>                      packet = r'sendp([Ether(dst="%s",
> src=get_if_hwaddr("%s"))/IPv6(src="%s", dst="%s:%d", nh=17)/UDP(sport=100,
> dport=200)], iface="%s")' % (
>                          self.dut_p0_mac, itf, src_addr, ipaddr, i, itf)
>                      self.tester.scapy_append(packet)
> -                    self.tester.scapy_execute()
> +                self.tester.scapy_execute()
> 
>      def check_packet_queue(self, queues=[], out=""):
>          """
> --
> 2.17.0


      parent reply	other threads:[~2019-05-13  2:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28 10:12 xiao,qimai
2019-04-29  5:30 ` Peng, Yuan
2019-05-13  2:30 ` Tu, Lijuan [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=8CE3E05A3F976642AAB0F4675D0AD20E0BA7FA16@SHSMSX101.ccr.corp.intel.com \
    --to=lijuan.tu@intel.com \
    --cc=dts@dpdk.org \
    --cc=qimaix.xiao@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).