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 B7C23A04C7; Tue, 15 Sep 2020 13:41:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AFFED1C0CE; Tue, 15 Sep 2020 13:41:11 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id E7B8E1BE8E for ; Tue, 15 Sep 2020 13:41:09 +0200 (CEST) IronPort-SDR: Eq1Y8a9NkuRbtjBfn/53VJ4zcDQJydGXQImUx2zHWPDbSlDhBaEHx22kaE9sphDi3jxRlfkgF3 NpTNZKLqlVzw== X-IronPort-AV: E=McAfee;i="6000,8403,9744"; a="223423680" X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="223423680" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Sep 2020 04:41:09 -0700 IronPort-SDR: YEQfAO8nbb4CgbWT3OxstcfzRD3nwJ5p9mXG8SlACWZVenlucwSVUniB0KPe1i52r4at3gJHO3 Aor2frT1muRw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,429,1592895600"; d="scan'208";a="379710548" Received: from unknown (HELO dpdk-zhaohy-t.localdomain) ([10.240.183.68]) by orsmga001.jf.intel.com with ESMTP; 15 Sep 2020 04:41:07 -0700 From: Haiyang Zhao To: dts@dpdk.org Cc: Haiyang Zhao Date: Tue, 15 Sep 2020 19:24:32 +0800 Message-Id: <1600169086-340540-4-git-send-email-haiyangx.zhao@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1600169086-340540-1-git-send-email-haiyangx.zhao@intel.com> References: <1600169086-340540-1-git-send-email-haiyangx.zhao@intel.com> Subject: [dts] [PATCH V1 03/17] test_plans/cvl_advanced_rss_gtpu: fix build warnings and errors 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" *.fix build warnings and errors Signed-off-by: Haiyang Zhao --- test_plans/cvl_advanced_rss_gtpu_test_plan.rst | 41 +++++++++++++------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/test_plans/cvl_advanced_rss_gtpu_test_plan.rst b/test_plans/cvl_advanced_rss_gtpu_test_plan.rst index 16c0302..6b2454b 100644 --- a/test_plans/cvl_advanced_rss_gtpu_test_plan.rst +++ b/test_plans/cvl_advanced_rss_gtpu_test_plan.rst @@ -218,6 +218,7 @@ all the test cases in the pattern:: outer ipv6 + inner ipv6 run the same test steps as below: + 1. validate rule. 2. create rule and list rule. 3. send a basic hit pattern packet,record the hash value. @@ -228,10 +229,10 @@ run the same test steps as below: 5. send hit pattern packets with changed input set not in the rule. check the received packet have same hash value with the basic packet. check all the packets are distributed to queues by rss. -note: if there is not this type packet in the case, omit this step. + note: if there is not this type packet in the case, omit this step. 6. send not hit pattern packets with input set in the rule. check the received packets have not hash value, and distributed to queue 0. -note: if there is not this type packet in the case, omit this step. + note: if there is not this type packet in the case, omit this step. 7. distroy the rule and list rule. 8. send same packets with step 3. check the received packets have not hash value, and distributed to queue 0, @@ -243,7 +244,6 @@ Pattern: outer ipv4 + inner ipv4 Test case: MAC_IPV4_GTPU_EH_IPV4 with UL/DL =========================================== -------- DL case ------- basic hit pattern packets are the same in this test case: @@ -462,7 +462,6 @@ packets: change the pdu_type value(0->1/1->0) of packets of Subcase MAC_IPV4_GTP Test case: MAC_IPV4_GTPU_EH_IPV4_UDP with UL/DL =============================================== -------- DL case ------- basic hit pattern packets are the same in this test case:: @@ -727,7 +726,6 @@ just change some parts of rules and packets: if the packet's inner L4 layer is UDP, change it to TCP; if the packet's inner L4 layer is TCP, change it to UDP; -------- DL case ------- @@ -1859,11 +1857,11 @@ Subcase: IPV4_GTPU_IPV4/IPV4_GTPU_EH_IPV4 10. destroy IPV4_GTPU_EH_IPV4 rule:: - flow destroy 0 rule 1 + flow destroy 0 rule 1 11. send same packets with step 5, - packet 1-3 get same result with step 5. - packet 4-9 have not hash value, and distributed to queue 0. + packet 1-3 get same result with step 5. + packet 4-9 have not hash value, and distributed to queue 0. Subcase: IPV4_GTPU_EH_IPV4 with/without UL/DL --------------------------------------------- @@ -1964,10 +1962,10 @@ Subcase: IPV4_GTPU_EH_IPV4 without/with UL/DL 10. destroy IPV4_GTPU_EH_IPV4 rule again:: - flow destroy 0 rule 2 + flow destroy 0 rule 2 11. send same packets with step 3, - packet 1-6 have not hash value, and distributed to queue 0. + packet 1-6 have not hash value, and distributed to queue 0. Subcase: IPV4_GTPU_EH_IPV4 and IPV4_GTPU_EH_IPV4_UDP/TCP -------------------------------------------------------- @@ -2032,10 +2030,10 @@ so the following step don't need to be run in dpdk-20.08. testpmd> flow destroy 0 rule 1 10. send same packets with step 2, - check packet 1-3 have not hash value. - check packet 5 has same hash value with packet 4, packet 6 has different hash value with packet 4. - check packet 8 has different hash value to packet 7, packet 9 have different hash value to packet 7 and 8. - check packet 10-12 have not hash value. + check packet 1-3 have not hash value. + check packet 5 has same hash value with packet 4, packet 6 has different hash value with packet 4. + check packet 8 has different hash value to packet 7, packet 9 have different hash value to packet 7 and 8. + check packet 10-12 have not hash value. Subcase: IPV6_GTPU_EH_IPV6 and IPV6_GTPU_EH_IPV6_UDP/TCP -------------------------------------------------------- @@ -2315,18 +2313,18 @@ Subcase: toeplitz/symmetric with different pattern (different UL/DL) 10. DUT re-create the symmetric rule:: - flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss func symmetric_toeplitz types ipv4 end key_len 0 queues end / end + flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv4 / end actions rss func symmetric_toeplitz types ipv4 end key_len 0 queues end / end 11. destroy the rule 0:: - testpmd> flow destroy 0 rule 0 + testpmd> flow destroy 0 rule 0 12. repeat step 4, check the symmetric also can work now. 13. repeat step 2, check the toeplitz can't work now, the packets have not hash value. Subcase: toeplitz/symmetric with different pattern (with/without UL/DL) ----------------------------------------------------------------------- +----------------------------------------------------------------------- 1. create a toeplitz rule:: flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc / ipv4 / end actions rss types ipv4 l3-dst-only end key_len 0 queues end / end @@ -2377,13 +2375,13 @@ so the following step don't need to be run in dpdk-20.08. 10. DUT re-create the symmetric rule:: - flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss func symmetric_toeplitz types ipv4 end key_len 0 queues end / end + flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 0 / ipv4 / end actions rss func symmetric_toeplitz types ipv4 end key_len 0 queues end / end 11. repeat step 4, check the symmetric can work now. 12. destroy the rule 0:: - testpmd> flow destroy 0 rule 0 + testpmd> flow destroy 0 rule 0 13. repeat step 4, check the symmetric also can work now. @@ -2434,13 +2432,13 @@ Subcase: toeplitz/symmetric with different pattern 10. DUT re-create a symmetric rule:: - flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv6 / end actions rss func symmetric_toeplitz types ipv6 end key_len 0 queues end / end + flow create 0 ingress pattern eth / ipv4 / udp / gtpu / gtp_psc pdu_t is 1 / ipv6 / end actions rss func symmetric_toeplitz types ipv6 end key_len 0 queues end / end 11. repeat step 4, check the symmetric can work now. 12. destroy the rule 0:: - testpmd> flow destroy 0 rule 0 + testpmd> flow destroy 0 rule 0 13. repeat step 4, check the symmetric also can work now. @@ -2509,6 +2507,7 @@ start testpmd without disable rss:: ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xff -n 4 -- -i --rxq=64 --txq=64 --port-topology=loop all the test cases run the same test steps as below: + 1. validate rule. 2. send a basic hit pattern packet,record the hash value. then send a hit pattern packet with switched value of input set in the rule. -- 1.8.3.1