* [dts] [PATCH V1] tests/TestSuite_l3fwd:ipv6 has no layer IP-0
@ 2019-10-28 10:41 Jianwei Mei
0 siblings, 0 replies; only message in thread
From: Jianwei Mei @ 2019-10-28 10:41 UTC (permalink / raw)
To: dts; +Cc: Jianwei Mei
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-28 1:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 10:41 [dts] [PATCH V1] tests/TestSuite_l3fwd:ipv6 has no layer IP-0 Jianwei Mei
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).