[dts] [PATCH V1] tests/queue_region:change fortpark flowtype

Zhu, ShuaiX shuaix.zhu at intel.com
Mon Jul 15 09:51:32 CEST 2019


Tested-by: Zhu, ShuaiX <shuaix.zhu at intel.com>

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhuwenhui
> Sent: Monday, July 15, 2019 3:46 PM
> To: dts at dpdk.org
> Cc: Zhu, WenhuiX <wenhuix.zhu at 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 at 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



More information about the dts mailing list