test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts] [PATCH V2] tests/queue_region:change fortpark flowtype
@ 2019-07-16  1:55 zhuwenhui
  2019-07-16  1:53 ` Zhu, ShuaiX
  2019-08-07  3:41 ` Tu, Lijuan
  0 siblings, 2 replies; 3+ messages in thread
From: zhuwenhui @ 2019-07-16  1:55 UTC (permalink / raw)
  To: dts; +Cc: zhuwenhui

if nic is x722,ipv6-udp belongs to flowtype 39

Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
---
 tests/TestSuite_queue_region.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/TestSuite_queue_region.py b/tests/TestSuite_queue_region.py
index 01842c2..28e7a58 100644
--- a/tests/TestSuite_queue_region.py
+++ b/tests/TestSuite_queue_region.py
@@ -212,7 +212,10 @@ class TestQueue_region(TestCase):
         self.dut.send_expect("set port 0 queue-region region_id 2 flowtype 33", "testpmd> ")
         self.dut.send_expect("set port 0 queue-region region_id 4 flowtype 35", "testpmd> ")
         self.dut.send_expect("set port 0 queue-region region_id 6 flowtype 36", "testpmd> ")
-        self.dut.send_expect("set port 0 queue-region region_id 2 flowtype 41", "testpmd> ")
+        if self.nic in ["fortpark_TLV"]:
+            self.dut.send_expect("set port 0 queue-region region_id 2 flowtype 39", "testpmd> ")
+        else:
+            self.dut.send_expect("set port 0 queue-region region_id 2 flowtype 41", "testpmd> ")
         self.dut.send_expect("set port 0 queue-region region_id 3 flowtype 43", "testpmd> ")
         self.dut.send_expect("set port 0 queue-region region_id 4 flowtype 44", "testpmd> ")
         self.dut.send_expect("set port 0 queue-region region_id 5 flowtype 45", "testpmd> ")
@@ -223,7 +226,7 @@ class TestQueue_region(TestCase):
         # region  |  queue       |  flowtype  |  packet_type
         #   0     |  1           |  31        |  IPv4_UDP
         #   1     |  3,4         |  32        |  IPv4_TCP_SYN
-        #   2     |  6,7         |  33,41     |  IPv4_TCP, IPv6_UDP
+        #   2     |  6,7         |  33,41/39  |  IPv4_TCP, IPv6_UDP
         #   3     |  8,9         |  43        |  IPv6_TCP
         #   4     |  11,12,13,14 |  35,44     |  IPv4_Other, IPv6_SCTP
         #   5     |  15          |  45        |  IPv6_Other
-- 
2.17.2


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

end of thread, other threads:[~2019-08-07  3:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16  1:55 [dts] [PATCH V2] tests/queue_region:change fortpark flowtype zhuwenhui
2019-07-16  1:53 ` Zhu, ShuaiX
2019-08-07  3:41 ` Tu, Lijuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).