[dts] [PATCH] tests/vlan: add support for Huawei hinic

Rami Rosen ramirose at gmail.com
Fri Apr 26 10:23:51 CEST 2019


This patch adds support for VLAN Test module on Huawei hinic.

Signed-off-by: Rami Rosen <ramirose at gmail.com>
---
 tests/TestSuite_vlan.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py
index 4c095af..5670beb 100644
--- a/tests/TestSuite_vlan.py
+++ b/tests/TestSuite_vlan.py
@@ -75,7 +75,7 @@ class TestVlan(TestCase):
         self.dut.send_expect("set verbose 1", "testpmd> ")
         out = self.dut.send_expect("set fwd mac", "testpmd> ")
 
-        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g"]:
+        if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "fortpark_TLV", "fortville_25g", "hi1822"]:
             self.dut.send_expect("vlan set filter on %s" % dutRxPortId, "testpmd> ")
             self.dut.send_expect("set promisc all off",  "testpmd> ")
 
-- 
1.8.3.1



More information about the dts mailing list