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 E5919A04DD; Fri, 20 Nov 2020 03:10:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC41EC8B2; Fri, 20 Nov 2020 03:10:29 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 81393C8B2 for ; Fri, 20 Nov 2020 03:10:27 +0100 (CET) IronPort-SDR: H3bAL2jGo+7zo62OWLX8710cPb4snvlbukkFQw3ZK5PeCj8LVhE+6BXWAs2nPTVTyjyFPQy5UD I6hPO268/GCg== X-IronPort-AV: E=McAfee;i="6000,8403,9810"; a="170618894" X-IronPort-AV: E=Sophos;i="5.78,354,1599548400"; d="scan'208";a="170618894" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 18:10:27 -0800 IronPort-SDR: Cvm2i5VvsPc6zYP22k2p0JKXkjZkcggt+KxSBe2eFp26+OGj3J3kNuFMH5cZbuAwVVU+bYgWL5 68NNgIQGvoow== X-IronPort-AV: E=Sophos;i="5.78,354,1599548400"; d="scan'208";a="535003920" Received: from unknown (HELO localhost.localdomain) ([10.240.183.105]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Nov 2020 18:10:26 -0800 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Fri, 20 Nov 2020 10:45:54 +0000 Message-Id: <20201120104556.27730-5-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201120104556.27730-1-qinx.sun@intel.com> References: <20201120104556.27730-1-qinx.sun@intel.com> Subject: [dts] [PATCH V1 4/6] test_plans/cvl_fdir remove 1 subcase 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" Remove 1 case: test_add_delete_rules The case has been moved to 'cvl_limit_value_test' suite Signed-off-by: sunqin --- test_plans/cvl_fdir_test_plan.rst | 38 +------------------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/test_plans/cvl_fdir_test_plan.rst b/test_plans/cvl_fdir_test_plan.rst index 740cb37c..c6b6a8c5 100644 --- a/test_plans/cvl_fdir_test_plan.rst +++ b/test_plans/cvl_fdir_test_plan.rst @@ -3699,43 +3699,7 @@ Subcase 1: port stop/port start/port reset check the packet are redirected to queue 2 with FDIR matched ID=0x1 -Subcase 2: add/delete rules ---------------------------- - -1. create two rules:: - - flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / udp src is 22 dst is 23 / end actions queue index 1 / mark / end - flow create 0 ingress pattern eth / ipv4 src is 192.168.0.20 dst is 192.168.0.21 / tcp src is 22 dst is 23 / end actions rss queues 2 3 end / mark id 1 / end - - return the message:: - - Flow rule #0 created - Flow rule #1 created - - list the rules:: - - testpmd> flow list 0 - ID Group Prio Attr Rule - 0 0 0 i-- ETH IPV4 UDP => QUEUE MARK - 1 0 0 i-- ETH IPV4 TCP => RSS MARK - -2. delete the rules:: - - testpmd> flow flush 0 - -3. repeate the create and delete operations in step1-2 15360 times. - -4. create the two rules one more time, check the rules listed. - -5. send matched packet:: - - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/UDP(sport=22,dport=23)/Raw('x' * 80)],iface="enp175s0f0") - sendp([Ether(dst="00:11:22:33:44:55")/IP(src="192.168.0.20",dst="192.168.0.21")/TCP(sport=22,dport=23)/Raw('x' * 80)],iface="enp175s0f0") - - check packet 1 is redirected to queue 1 with FDIR matched ID=0x0 - check packet 2 is redirected to queue 2 or queue 3 with FDIR matched ID=0x1 - -Subcase 3: delete rules +Subcase 2: delete rules ----------------------- 1. create 3 rules and destory the first rule:: -- 2.17.1