[dts] [PATCH V1] tests/vlan_ethertype_config:change testpmd cmd

Ma, LihongX lihongx.ma at intel.com
Thu Oct 31 08:21:43 CET 2019


Hi, xiewei
As the commit 2a0b41984c7 , we will use the ' vlan set extend on' instead of 'vlan set qinq on'
And if we will identification the packet as Qin vlan pkts, so we should add 'vlan set strip on xx' before 'vlan set extend on'

-----Original Message-----
From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of Xie Wei
Sent: Wednesday, October 30, 2019 3:00 PM
To: dts at dpdk.org
Cc: Xie, WeiX <weix.xie at intel.com>
Subject: [dts] [PATCH V1] tests/vlan_ethertype_config:change testpmd cmd

change testpmd cmd in dpdk-2a0b41984c7

Signed-off-by: Xie Wei <weix.xie at intel.com>
---
 tests/TestSuite_vlan_ethertype_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vlan_ethertype_config.py b/tests/TestSuite_vlan_ethertype_config.py
index 33e9948..d66f0d3 100644
--- a/tests/TestSuite_vlan_ethertype_config.py
+++ b/tests/TestSuite_vlan_ethertype_config.py
@@ -344,7 +344,7 @@ class TestVlanEthertypeConfig(TestCase):
         random_vlan = random.randint(1, MAX_VLAN - 1)
         rx_vlans = [1, random_vlan, MAX_VLAN]
         self.dut.send_expect(
-            "vlan set qinq on %d" % dutRxPortId, "testpmd> ", 20)
+            "vlan set qinq_strip on %d" % dutRxPortId, "testpmd> ", 20)
         self.dut.send_expect("set verbose 1", "testpmd> ")
         self.dut.send_expect("set fwd rxonly", "testpmd> ")
         self.dut.send_expect("start", "testpmd> ")
-- 
2.17.2



More information about the dts mailing list