[dts] [PATCH V3] tests/flow_filtering: suite CVL

Peng, Yuan yuan.peng at intel.com
Mon Dec 2 06:50:39 CET 2019


Hi xiaoxiao,
I think it should be:
+        if self.nic == ('columbiaville_100g'):
+            self.verify(len(queue_list) == 1 and queue_list[0] != "0x1", "Dismatch rule failed!")

-----Original Message-----
From: dts <dts-bounces at dpdk.org> On Behalf Of Xiaoxiao Zeng
Sent: Tuesday, December 3, 2019 1:37 AM
To: dts at dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng at intel.com>
Subject: [dts] [PATCH V3] tests/flow_filtering: suite CVL

*.columbiaville_100g default open rss,fvl defualt close rss.

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng at intel.com>
---
 tests/TestSuite_flow_filtering.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tests/TestSuite_flow_filtering.py b/tests/TestSuite_flow_filtering.py
index 242d321..8be17de 100644
--- a/tests/TestSuite_flow_filtering.py
+++ b/tests/TestSuite_flow_filtering.py
@@ -95,7 +95,10 @@ class TestFlowFiltering(TestCase):
         pkg = {'IP/dst': 'Ether(dst="%s")/IP(src="0.0.0.0", dst="192.168.1.2")/Raw("x"*20)' % self.dts_mac}
         self.send_packet(pkg)
         queue_list = self.check_flow_queue()
-        self.verify(len(queue_list) == 1 and queue_list[0] == "0x0", "Dismatch rule failed!")
+        if self.nic == ('columbiaville_100g'):
+            self.verify(len(queue_list) == 1 and queue_list[0] != "0x0", "Dismatch rule failed!")
+        else:
+            self.verify(len(queue_list) == 1 and queue_list[0] == "0x0", "Dismatch rule failed!")
 
     def tear_down(self):
         """
-- 
2.17.0



More information about the dts mailing list