test suite reviews and discussions
 help / color / Atom feed
* Re: [dts] [PATCH V3] tests/flow_filtering: suite CVL
  2019-12-02 17:36 [dts] [PATCH V3] tests/flow_filtering: suite CVL Xiaoxiao Zeng
@ 2019-12-02  5:50 ` Peng, Yuan
  0 siblings, 0 replies; 2+ messages in thread
From: Peng, Yuan @ 2019-12-02  5:50 UTC (permalink / raw)
  To: Zeng, XiaoxiaoX, dts; +Cc: Zeng, XiaoxiaoX

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@dpdk.org> On Behalf Of Xiaoxiao Zeng
Sent: Tuesday, December 3, 2019 1:37 AM
To: dts@dpdk.org
Cc: Zeng, XiaoxiaoX <xiaoxiaox.zeng@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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts]  [PATCH V3] tests/flow_filtering: suite CVL
@ 2019-12-02 17:36 Xiaoxiao Zeng
  2019-12-02  5:50 ` Peng, Yuan
  0 siblings, 1 reply; 2+ messages in thread
From: Xiaoxiao Zeng @ 2019-12-02 17:36 UTC (permalink / raw)
  To: dts; +Cc: Xiaoxiao Zeng

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

Signed-off-by: Xiaoxiao Zeng <xiaoxiaox.zeng@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-02 17:36 [dts] [PATCH V3] tests/flow_filtering: suite CVL Xiaoxiao Zeng
2019-12-02  5:50 ` Peng, Yuan

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox