test suite reviews and discussions
 help / color / mirror / Atom feed
From: Jianwei Mei <jianweix.mei@intel.com>
To: dts@dpdk.org
Cc: Jianwei Mei <jianweix.mei@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_l3fwd:ipv6 has no layer IP-0
Date: Mon, 28 Oct 2019 18:41:19 +0800	[thread overview]
Message-ID: <1572259279-3690-1-git-send-email-jianweix.mei@intel.com> (raw)

ipv6 has no layer IP-0

Signed-off-by: Jianwei Mei <jianweix.mei@intel.com>
---
 tests/TestSuite_l3fwd.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_l3fwd.py b/tests/TestSuite_l3fwd.py
index e40b057..a9016d4 100644
--- a/tests/TestSuite_l3fwd.py
+++ b/tests/TestSuite_l3fwd.py
@@ -277,6 +277,8 @@ class TestL3fwd(TestCase):
                 tgenInput = self.prepare_stream(pcaps)
 
                 vm_config = self.set_fields()
+                if l3_proto == "ipv6":
+                    vm_config = None
                 # clear streams before add new streams
                 self.tester.pktgen.clear_streams()
                 # run packet generator
@@ -310,7 +312,7 @@ class TestL3fwd(TestCase):
         rtCmdLines, core_mask = self.perpare_commandline(len(valports))
 
         for frame_size in self.frame_sizes:
-            if mode == "ipv6" and frame_size == 64:
+            if l3_proto == "ipv6" and frame_size == 64:
                 frame_size += 2
             for cores in rtCmdLines.keys():
                 # in order to save time, only some of the cases will be run.
@@ -331,6 +333,8 @@ class TestL3fwd(TestCase):
                     tgenInput = self.prepare_stream(pcaps)
 
                     vm_config = self.set_fields()
+                    if l3_proto == "ipv6":
+                        vm_config = None
                     # clear streams before add new streams
                     self.tester.pktgen.clear_streams()
                     # run packet generator
-- 
1.8.3.1


                 reply	other threads:[~2019-10-28  1:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1572259279-3690-1-git-send-email-jianweix.mei@intel.com \
    --to=jianweix.mei@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).