From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2A2C9A0A02; Wed, 2 Jun 2021 09:51:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D3D84069F; Wed, 2 Jun 2021 09:51:49 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 9C42E40689 for ; Wed, 2 Jun 2021 09:51:47 +0200 (CEST) IronPort-SDR: Dax4gURfEy9Utl9w1k1orXpt1f5zrgNvlQmvOSSrqk9drBM4JC6gA9rGjx1vQP1Bk6XinQiiJh jPogbxTL0s0g== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="289358190" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="289358190" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 00:51:47 -0700 IronPort-SDR: RgNlLSe9V4WbRR2bKVzkbjINbZdPp5VxdJnt9CY812M0ICkAwMWqm6OhMUVcJK00dpVAimERk+ 1wGnJOKbMPUQ== X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="479608962" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 00:51:45 -0700 From: Xiang An To: dts@dpdk.org Cc: xueqin.lin@intel.com, Xiang An Date: Wed, 2 Jun 2021 16:01:58 +0800 Message-Id: <1622620919-59787-2-git-send-email-xiangx.an@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1622620919-59787-1-git-send-email-xiangx.an@intel.com> References: <1622620919-59787-1-git-send-email-xiangx.an@intel.com> Subject: [dts] [PATCH V1 1/2] test_plans/dynamic_flowtype: remove a cmd to adapt dpdk X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 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" Signed-off-by: Xiang An --- test_plans/dynamic_flowtype_test_plan.rst | 48 +++++++++++-------------------- 1 file changed, 16 insertions(+), 32 deletions(-) diff --git a/test_plans/dynamic_flowtype_test_plan.rst b/test_plans/dynamic_flowtype_test_plan.rst index 83ed5eb..ad68536 100644 --- a/test_plans/dynamic_flowtype_test_plan.rst +++ b/test_plans/dynamic_flowtype_test_plan.rst @@ -176,22 +176,18 @@ Test Case: Update flow type to GTP-U IPv4 pctype mapping item testpmd> show port 0 pctype mapping -4. Add udp key to hash input set for flow type id 26 on port 0:: - - testpmd> set_hash_input_set 0 26 udp-key add - -5. Enable flow type id 26's RSS:: +4. Enable flow type id 26's RSS:: testpmd> port config all rss 26 -6. Start testpmd +5. Start testpmd -7. Send GTP-U IPv4 packets, check RSS could work, print PKT_RX_RSS_HASH:: +6. Send GTP-U IPv4 packets, check RSS could work, print PKT_RX_RSS_HASH:: >>> p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header()/IP()/Raw('x'*20) >>> p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IP()/Raw('x'*20) -8. Send GTP-U IPv6, GTP-U PAY4 and GTP-C PAY4 packets, check receive packets +7. Send GTP-U IPv6, GTP-U PAY4 and GTP-C PAY4 packets, check receive packets from queue 0 and don't have PKT_RX_RSS_HASH print. @@ -209,22 +205,18 @@ Test Case: Update flow type to GTP-U IPv6 pctype mapping item testpmd> show port 0 pctype mapping -4. Add udp key to hash input set for flow type id 23 on port 0:: - - testpmd> set_hash_input_set 0 23 udp-key add - -5. Enable flow type id 23's RSS:: +4. Enable flow type id 23's RSS:: testpmd> port config all rss 23 -6. Start testpmd +5. Start testpmd -7. Send GTP-U IPv6 packets, check RSS could work, print PKT_RX_RSS_HASH:: +6. Send GTP-U IPv6 packets, check RSS could work, print PKT_RX_RSS_HASH:: >>> p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header()/IPv6()/Raw('x'*20) >>> p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/IPv6()/Raw('x'*20) -8. Send GTP-U IPv4, GTP-U PAY4 and GTP-C PAY4 packets, check receive +7. Send GTP-U IPv4, GTP-U PAY4 and GTP-C PAY4 packets, check receive packets from queue 0 and don't have PKT_RX_RSS_HASH print @@ -243,22 +235,18 @@ Test Case: Update flow type to GTP-U PAY4 pctype mapping item testpmd> show port 0 pctype mapping -4. Add udp key to hash input set for flow type id 24 on port 0:: - - testpmd> set_hash_input_set 0 24 udp-key add - -5. Enable flow type id 24's RSS:: +4. Enable flow type id 24's RSS:: testpmd> port config all rss 24 -6. Start testpmd +5. Start testpmd -7. Send GTP-U, PAY4 packets, check RSS could work, print PKT_RX_RSS_HASH:: +6. Send GTP-U, PAY4 packets, check RSS could work, print PKT_RX_RSS_HASH:: >>> p=Ether()/IP()/UDP(dport=2152)/GTP_U_Header()/Raw('x'*20) >>> p=Ether()/IPv6()/UDP(dport=2152)/GTP_U_Header()/Raw('x'*20) -8. Send GTP-U IPv4, GTP-U IPv6 and GTP-C PAY4 packets, check receive +7. Send GTP-U IPv4, GTP-U IPv6 and GTP-C PAY4 packets, check receive packets from queue 0 and don't have PKT_RX_RSS_HASH print. @@ -274,22 +262,18 @@ Test Case: Update flow type to GTP-C PAY4 pctype mapping item 3. Check flow ptype to pctype mapping adds 25 this mapping -4. Add udp key to hash input set for flow type id 25 on port 0:: - - testpmd> set_hash_input_set 0 25 udp-key add - -5. Enable flow type id 25's RSS:: +4. Enable flow type id 25's RSS:: testpmd> port config all rss 25 -6. Start testpmd +5. Start testpmd -7. Send GTP-C PAY4 packets, check RSS could work, print PKT_RX_RSS_HASH:: +6. Send GTP-C PAY4 packets, check RSS could work, print PKT_RX_RSS_HASH:: >>> p=Ether()/IP()/UDP(dport=2123)/GTP_U_Header()/Raw('x'*20) >>> p=Ether()/IPv6()/UDP(dport=2123)/GTP_U_Header()/Raw('x'*20) -8. Send GTP-U IPv4, GTP-U IPv6 and GTP-U PAY4 packets, check receive packets +7. Send GTP-U IPv4, GTP-U IPv6 and GTP-U PAY4 packets, check receive packets from queue 0 and don't have PKT_RX_RSS_HASH print. -- 1.8.3.1