From patchwork Thu Jan 28 02:13:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng, Yuan" X-Patchwork-Id: 87467 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C5D70A09E4; Thu, 28 Jan 2021 10:14:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B00481889EA; Thu, 28 Jan 2021 10:14:37 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5A2441889E9 for ; Thu, 28 Jan 2021 10:14:36 +0100 (CET) IronPort-SDR: eS7aI7v3ZDlIhlwgh9BNd4Rq9o0Qh9vho/DR2V7o2N3dQWlvwBRRBG83eW1thKZTob0/DJ8rHm LhhvjbQWMpJQ== X-IronPort-AV: E=McAfee;i="6000,8403,9877"; a="180347807" X-IronPort-AV: E=Sophos;i="5.79,381,1602572400"; d="scan'208";a="180347807" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2021 01:14:35 -0800 IronPort-SDR: nF7Q9JYC4BgjkWTaM5qHEBNuhtm2n8vYncbwnVA94RJdVZXdS2eS6LqdFhT9qfsQO/m2b37fG7 VOvXYUHGAUbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,381,1602572400"; d="scan'208";a="388728277" Received: from pengyuan-dpdk.sh.intel.com ([10.67.117.236]) by orsmga008.jf.intel.com with ESMTP; 28 Jan 2021 01:14:34 -0800 From: Peng Yuan To: dts@dpdk.org Cc: Peng Yuan Date: Thu, 28 Jan 2021 02:13:52 +0000 Message-Id: <20210128021352.58766-1-yuan.peng@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH v1]test_plans: change test plan according to DPDK-25551 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" the related test plans: cvl_dcf_switch_filter_test_plan.rst dcf_lifecycle_test_plan.rst iavf_fdir_test_plan.rst Signed-off-by: Peng Yuan diff --git a/test_plans/cvl_dcf_switch_filter_test_plan.rst b/test_plans/cvl_dcf_switch_filter_test_plan.rst index 3b63c041..11d35f0f 100644 --- a/test_plans/cvl_dcf_switch_filter_test_plan.rst +++ b/test_plans/cvl_dcf_switch_filter_test_plan.rst @@ -4549,13 +4549,7 @@ Subcase 1: DCF stop/DCF start tetspmd> port stop 0 testpmd> port start 0 -4. check the rule list:: - - testpmd> flow list 0 - - check the rule is still there. - -5. send matched packets, port 1 can still receive the packets. +4. send matched packets, port 1 can still receive the packets. Test case: Drop action test =========================== diff --git a/test_plans/dcf_lifecycle_test_plan.rst b/test_plans/dcf_lifecycle_test_plan.rst index 1e5fcecd..ad54272a 100644 --- a/test_plans/dcf_lifecycle_test_plan.rst +++ b/test_plans/dcf_lifecycle_test_plan.rst @@ -950,8 +950,7 @@ TC30: DCF enabled, DCF VF reset port start 0 start -4. check the rule still be listed. - send the packet with new mac address of VF1 again, check the packet still be dropped by VF1. +4. send the packet with new mac address of VF1 again, check the packet still be dropped by VF1. the rule still take effect. DCF mode and any ACL filters (not added by DCF) shall be mutually exclusive diff --git a/test_plans/iavf_fdir_test_plan.rst b/test_plans/iavf_fdir_test_plan.rst index 6de28d2c..09fe1793 100644 --- a/test_plans/iavf_fdir_test_plan.rst +++ b/test_plans/iavf_fdir_test_plan.rst @@ -4077,9 +4077,9 @@ Subcase 1: port stop/port start testpmd> port stop 0 testpmd> port start 0 -4. show the rule list, the rule is still there. +4. show the rule list, there is no rule listed. -5. verify matched packet can be still redirected to queue 1 with FDIR matched ID=0x0. +5. verify matched packet is distributed by RSS without FDIR matched ID. Subcase 2: delete rules ----------------------- @@ -4182,8 +4182,9 @@ Subcase 3: VF port reset and create a new rule the port can be stop/reset/start normally without error message. -4. check the rule still be listed, - send matched packet to vf0, check the packet is redirected by RSS without FDIR matched ID. +4. check there is not rule listed on port 0. + the rule of port 1 is still be listed. + send matched packet to vf0, check the packet is distributed by RSS. send matched packet to vf1, check the packet is redirected to queue 5 with FDIR matched ID=0x0. 5. create rule 0 on port 0 again, the rule can be created successfully. @@ -4210,18 +4211,18 @@ Subcase 4: VF port reset and delete the rule 3. vf reset:: - port stop 0 - port reset 0 - port start 0 + port stop 1 + port reset 1 + port start 1 the port can be stop/reset/start normally without error message. -4. check the rule still be listed, - send matched packet to vf0, check the packet is redirected by RSS without FDIR matched ID. - send matched packet to vf1, check the packet is redirected to queue 5 with FDIR matched ID=0x0. +4. check there is not rule listed on port 1. + the rule of port 0 is still be listed. + send matched packet to vf0, check the packet is redirected to queue 5 with FDIR matched ID=0x0. + send matched packet to vf1, check the packet is distributed by RSS. -5. destroy rule 0 of vf0, report error, but no core dump. - destroy rule 0 of vf1 successfully. +5. destroy rule 0 of vf0 successfully. send matched packet to vf0, check the packet is redirected by RSS without FDIR matched ID. send matched packet to vf1, check the packet is redirected by RSS without FDIR matched ID. @@ -4260,7 +4261,7 @@ Subcase 5: PF reset VF and create a new rule the port can be stop/reset/start normally without error message. -5. check the rule of vf0 still be listed, +5. check there is not rule listed on vf0. send matched packet to vf0 with new mac address, check the packet is redirected by RSS without FDIR matched ID. send matched packet to vf1, check the packet is redirected to queue 5 with FDIR matched ID=0x0. @@ -4295,23 +4296,23 @@ Subcase 6: PF reset VF and delete the rule 4. testpmd shows:: - Port 0: reset event + Port 1: reset event then vf reset:: - port stop 0 - port reset 0 - port start 0 + port stop 1 + port reset 1 + port start 1 the port can be stop/reset/start normally without error message. -5. destroy rule 0 of vf0, report error, but no core dump. - destroy rule 0 of vf1 successfully. +5. check there is not rule listed on vf1. + destroy rule 0 of vf0 successfully. send matched packet to vf0, check the packet is redirected by RSS without FDIR matched ID. send matched packet to vf1, check the packet is redirected by RSS without FDIR matched ID. -6. create rule 0 on port 0 again, the rule can be created successfully. - send matched packet to port 0, the packet can be redirected to queue 5 with FDIR matched ID=0x0. +6. create rule 1 on port 1 again, the rule can be created successfully. + send matched packet to port 1, the packet can be redirected to queue 5 with FDIR matched ID=0x0. 7. quit and relaunch testpmd, then create same rules successfully.