From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BBCACA0471 for ; Mon, 15 Jul 2019 09:41:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 977E3325F; Mon, 15 Jul 2019 09:41:22 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 1E03B3256 for ; Mon, 15 Jul 2019 09:41:20 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jul 2019 00:41:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,493,1557212400"; d="scan'208";a="187065436" Received: from unknown (HELO localhost.localdomain.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 15 Jul 2019 00:41:19 -0700 From: zhuwenhui To: dts@dpdk.org Cc: zhuwenhui Date: Mon, 15 Jul 2019 15:45:59 +0800 Message-Id: <1563176759-113640-1-git-send-email-wenhuix.zhu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/queue_region:change fortpark flowtype X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" if nic is x722,ipv6-udp belongs to flowtype 39. Signed-off-by: zhuwenhui --- 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