* Re: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype
2019-07-15 7:45 [dts] [PATCH V1] tests/queue_region:change fortpark flowtype zhuwenhui
@ 2019-07-15 7:51 ` Zhu, ShuaiX
2019-08-07 3:24 ` Tu, Lijuan
2019-08-07 3:41 ` Tu, Lijuan
2 siblings, 0 replies; 4+ messages in thread
From: Zhu, ShuaiX @ 2019-07-15 7:51 UTC (permalink / raw)
To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX, Zhu, ShuaiX
Tested-by: Zhu, ShuaiX <shuaix.zhu@intel.com>
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Monday, July 15, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype
>
> if nic is x722,ipv6-udp belongs to flowtype 39.
>
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
> tests/TestSuite_queue_region.py | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_queue_region.py
> b/tests/TestSuite_queue_region.py index 01842c2..7a70e31 100644
> --- a/tests/TestSuite_queue_region.py
> +++ b/tests/TestSuite_queue_region.py
> @@ -212,8 +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> ")
> - self.dut.send_expect("set port 0 queue-region region_id 3 flowtype
> 43", "testpmd> ")
> + if self.nic in ["fortpark_TLV"]:
> + self.dut.send_expect("set port 0 queue-region region_id 2
> flowtype 41", "testpmd> ")
> + else:
> + 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> ")
> self.dut.send_expect("set port 0 queue-region region_id 7 flowtype
> 46", "testpmd> ") @@ -223,7 +225,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] 4+ messages in thread
* Re: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype
2019-07-15 7:45 [dts] [PATCH V1] tests/queue_region:change fortpark flowtype zhuwenhui
2019-07-15 7:51 ` Zhu, ShuaiX
@ 2019-08-07 3:24 ` Tu, Lijuan
2019-08-07 3:41 ` Tu, Lijuan
2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-08-07 3:24 UTC (permalink / raw)
To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Monday, July 15, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype
>
> if nic is x722,ipv6-udp belongs to flowtype 39.
>
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
> tests/TestSuite_queue_region.py | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_queue_region.py
> b/tests/TestSuite_queue_region.py index 01842c2..7a70e31 100644
> --- a/tests/TestSuite_queue_region.py
> +++ b/tests/TestSuite_queue_region.py
> @@ -212,8 +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> ")
> - self.dut.send_expect("set port 0 queue-region region_id 3 flowtype 43",
> "testpmd> ")
> + if self.nic in ["fortpark_TLV"]:
> + self.dut.send_expect("set port 0 queue-region region_id 2 flowtype
> 41", "testpmd> ")
> + else:
> + 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> ")
> self.dut.send_expect("set port 0 queue-region region_id 7 flowtype 46",
> "testpmd> ") @@ -223,7 +225,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] 4+ messages in thread
* Re: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype
2019-07-15 7:45 [dts] [PATCH V1] tests/queue_region:change fortpark flowtype zhuwenhui
2019-07-15 7:51 ` Zhu, ShuaiX
2019-08-07 3:24 ` Tu, Lijuan
@ 2019-08-07 3:41 ` Tu, Lijuan
2 siblings, 0 replies; 4+ messages in thread
From: Tu, Lijuan @ 2019-08-07 3:41 UTC (permalink / raw)
To: Zhu, WenhuiX, dts; +Cc: Zhu, WenhuiX
Sorry, not applied V1, applied V2
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhuwenhui
> Sent: Monday, July 15, 2019 3:46 PM
> To: dts@dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype
>
> if nic is x722,ipv6-udp belongs to flowtype 39.
>
> Signed-off-by: zhuwenhui <wenhuix.zhu@intel.com>
> ---
> tests/TestSuite_queue_region.py | 8 +++++---
> 1 file changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/tests/TestSuite_queue_region.py
> b/tests/TestSuite_queue_region.py index 01842c2..7a70e31 100644
> --- a/tests/TestSuite_queue_region.py
> +++ b/tests/TestSuite_queue_region.py
> @@ -212,8 +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> ")
> - self.dut.send_expect("set port 0 queue-region region_id 3 flowtype 43",
> "testpmd> ")
> + if self.nic in ["fortpark_TLV"]:
> + self.dut.send_expect("set port 0 queue-region region_id 2 flowtype
> 41", "testpmd> ")
> + else:
> + 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> ")
> self.dut.send_expect("set port 0 queue-region region_id 7 flowtype 46",
> "testpmd> ") @@ -223,7 +225,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] 4+ messages in thread