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 8C709A0C43; Wed, 15 Sep 2021 07:27:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 56CBA4003F; Wed, 15 Sep 2021 07:27:39 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id A46BC4003C for ; Wed, 15 Sep 2021 07:27:37 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10107"; a="220344966" X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="220344966" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 22:27:36 -0700 X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="544475658" Received: from unknown (HELO dpdk-zhaohy-t.sh.intel.com) ([10.240.183.68]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Sep 2021 22:27:35 -0700 From: Jiale Song To: dts@dpdk.org Cc: Jiale Song Date: Wed, 15 Sep 2021 13:39:53 +0800 Message-Id: <1631684394-95135-1-git-send-email-songx.jiale@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V2 1/2] test_plans/cvl_dcf_flow_priority: modify rule priority 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" because the priority of the dpdk rule is changed from 0<1<2... to 0>1>2..., modify the testplan Signed-off-by: Jiale Song --- .../cvl_dcf_flow_priority_test_plan.rst | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) mode change 100644 => 100755 test_plans/cvl_dcf_flow_priority_test_plan.rst diff --git a/test_plans/cvl_dcf_flow_priority_test_plan.rst b/test_plans/cvl_dcf_flow_priority_test_plan.rst old mode 100644 new mode 100755 index 8ae6052..38e86a7 --- a/test_plans/cvl_dcf_flow_priority_test_plan.rst +++ b/test_plans/cvl_dcf_flow_priority_test_plan.rst @@ -118,16 +118,16 @@ test steps for supported pattern ================================ 1. validate rules: two rules have same pattern, input set but different priority and action(priority 0 -> to vf 1, priority 1 -> to vf 2). 2. create rules and list rules. -3. send matched packets, check vf 2 receive the packets for hiting the priority 1. +3. send matched packets, check vf 1 receive the packets for hiting the priority 0. 4. send mismatched packets, check the packets are not received by vf 1 or 2. -5. destroy rule with priority 1, list rules. -6. send matched packets, check vf 1 receive the packets for hiting the priority 0. +5. destroy rule with priority 0, list rules. +6. send matched packets, check vf 2 receive the packets for hiting the priority 1. 7. send mismatched packets, check the packets are not received by vf 1 or 2. -8. recreate rules which priority is 1, list rule. -9. destroy rule with priority 0, list rules. -10. send matched packets, check vf 2 receive the packets for hiting the priority 1. +8. recreate rules which priority is 0, list rule. +9. destroy rule with priority 1, list rules. +10. send matched packets, check vf 1 receive the packets for hiting the priority 0. 11. send mismatched packets, check the packets are not received by vf 1 or 2. -12. destroy rule with priority 1, list rules. +12. destroy rule with priority 0, list rules. 13. send matched packets, check the packets are not received by vf 1 or 2. @@ -1745,12 +1745,12 @@ subcase 3: some rules overlap ----------------------------- 1. create rules:: - flow create 0 priority 0 ingress pattern eth / vlan / vlan / pppoes / pppoe_proto_id is 0x21 / end actions vf id 1 / end - flow create 0 priority 0 ingress pattern eth / vlan / vlan tci is 2 / end actions vf id 1 / end - flow create 0 priority 1 ingress pattern eth / vlan / vlan / pppoes seid is 1 / ipv4 / end actions vf id 2 / end - flow create 0 priority 1 ingress pattern eth dst is 00:00:00:01:03:03 / vlan / vlan / end actions vf id 2 / end - flow create 0 priority 1 ingress pattern eth dst is 00:00:00:01:03:03 / end actions vf id 3 / end - flow create 0 priority 1 ingress pattern eth / vlan tci is 1 / vlan tci is 2 / end actions vf id 3 / end + flow create 0 priority 1 ingress pattern eth / vlan / vlan / pppoes / pppoe_proto_id is 0x21 / end actions vf id 1 / end + flow create 0 priority 1 ingress pattern eth / vlan / vlan tci is 2 / end actions vf id 1 / end + flow create 0 priority 0 ingress pattern eth / vlan / vlan / pppoes seid is 1 / ipv4 / end actions vf id 2 / end + flow create 0 priority 0 ingress pattern eth dst is 00:00:00:01:03:03 / vlan / vlan / end actions vf id 2 / end + flow create 0 priority 0 ingress pattern eth dst is 00:00:00:01:03:03 / end actions vf id 3 / end + flow create 0 priority 0 ingress pattern eth / vlan tci is 1 / vlan tci is 2 / end actions vf id 3 / end 2. check all the rules exist in the list:: -- 2.17.1