diff mbox series

[V1] tests/qinq_filter: add vlan qinq_strip on before testing for show QINQ_VLAN flag in log

Message ID 20200813055808.40743-1-junx.w.zhou@intel.com (mailing list archive)
State Accepted
Headers show
Series [V1] tests/qinq_filter: add vlan qinq_strip on before testing for show QINQ_VLAN flag in log | expand

Commit Message

Zhou, JunX W Aug. 13, 2020, 5:58 a.m. UTC
From: Zhou jun <junx.w.zhou@intel.com>

add vlan qinq_strip on before testing for show QINQ_VLAN flag in log

Signed-off-by: Zhou jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_qinq_filter.py | 1 +
 1 file changed, 1 insertion(+)

Comments

Zhou, JunX W Aug. 13, 2020, 6:11 a.m. UTC | #1
Testby:  junx.w.zhou@intel.com

-----Original Message-----
From: Zhou, JunX W 
Sent: Thursday, August 13, 2020 1:58 PM
To: dts@dpdk.org
Cc: Zhou, JunX W <junx.w.zhou@intel.com>
Subject: [dts][PATCH V1] tests/qinq_filter: add vlan qinq_strip on before testing for show QINQ_VLAN flag in log

From: Zhou jun <junx.w.zhou@intel.com>

add vlan qinq_strip on before testing for show QINQ_VLAN flag in log

Signed-off-by: Zhou jun <junx.w.zhou@intel.com>
---
 tests/TestSuite_qinq_filter.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py index de5520d..560f08d 100644
--- a/tests/TestSuite_qinq_filter.py
+++ b/tests/TestSuite_qinq_filter.py
@@ -150,6 +150,7 @@ class TestQinqFilter(TestCase):
                                "testpmd> ", 30)
         self.dut.send_expect("vlan set extend on %s" % dutRxPortId, "testpmd> ")
         self.dut.send_expect("vlan set strip on %s" % dutRxPortId, "testpmd> ")
+        self.dut.send_expect("vlan set qinq_strip on %s" % dutRxPortId, 
+ "testpmd> ")
         self.dut.send_expect("set fwd rxonly", "testpmd> ")
         self.dut.send_expect("set verbose 1", "testpmd> ")
         self.dut.send_expect("start", "testpmd> ", 120)
--
1.8.3.1
Tu, Lijuan Aug. 21, 2020, 2:39 a.m. UTC | #2
> add vlan qinq_strip on before testing for show QINQ_VLAN flag in log
> 
> Signed-off-by: Zhou jun <junx.w.zhou@intel.com>

Applied
diff mbox series

Patch

diff --git a/tests/TestSuite_qinq_filter.py b/tests/TestSuite_qinq_filter.py
index de5520d..560f08d 100644
--- a/tests/TestSuite_qinq_filter.py
+++ b/tests/TestSuite_qinq_filter.py
@@ -150,6 +150,7 @@  class TestQinqFilter(TestCase):
                                "testpmd> ", 30)
         self.dut.send_expect("vlan set extend on %s" % dutRxPortId, "testpmd> ")
         self.dut.send_expect("vlan set strip on %s" % dutRxPortId, "testpmd> ")
+        self.dut.send_expect("vlan set qinq_strip on %s" % dutRxPortId, "testpmd> ")
         self.dut.send_expect("set fwd rxonly", "testpmd> ")
         self.dut.send_expect("set verbose 1", "testpmd> ")
         self.dut.send_expect("start", "testpmd> ", 120)