From patchwork Fri Jul 24 14:07:49 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lu, Nannan" X-Patchwork-Id: 74708 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 594B7A0518; Fri, 24 Jul 2020 07:15:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 259CA1D533; Fri, 24 Jul 2020 07:15:17 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 7E8261D530 for ; Fri, 24 Jul 2020 07:15:15 +0200 (CEST) IronPort-SDR: QNYKlhJbQxbCjpJsLYbbNHoXRx5UL3bcL3l2Xi6bJlLR+lb25MgLgjjcwn2z8kZv/kTrWpMKRE RwG6/JB0Ql4w== X-IronPort-AV: E=McAfee;i="6000,8403,9691"; a="130735818" X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="130735818" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Jul 2020 22:15:14 -0700 IronPort-SDR: SON7/V5ZqJbvzGAQlPHFdBQZdXJj21zUZKtVxzRTkKDdCIpr+3HGJ0EhhYgWw9i5SSctETb2tv dxSb5zd78Mrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,389,1589266800"; d="scan'208";a="432971819" Received: from dpdk-lunannan.sh.intel.com ([10.67.111.68]) by orsmga004.jf.intel.com with ESMTP; 23 Jul 2020 22:15:13 -0700 From: Nannan Lu To: dts@dpdk.org Cc: Nannan Lu Date: Fri, 24 Jul 2020 14:07:49 +0000 Message-Id: <1595599669-346118-1-git-send-email-nannan.lu@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dts] [PATCH V2] test_plans/cvl_dcf_switch_filter_test_plan.rst: Remove actions vf id 0 test case 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 actions vf id 0 test case, since the datapath has been enabled for dcf, so dcf can receive packet now. Signed-off-by: Nannan Lu --- test_plans/cvl_dcf_switch_filter_test_plan.rst | 30 ++++++-------------------- 1 file changed, 7 insertions(+), 23 deletions(-) diff --git a/test_plans/cvl_dcf_switch_filter_test_plan.rst b/test_plans/cvl_dcf_switch_filter_test_plan.rst index 9d415f7..72c37d7 100644 --- a/test_plans/cvl_dcf_switch_filter_test_plan.rst +++ b/test_plans/cvl_dcf_switch_filter_test_plan.rst @@ -2030,23 +2030,7 @@ Test case: MAC_IPV6_NAT-T-ESP Test case: negative cases ========================= -Subcase 1: actions vf id 0 --------------------------- - -1. action to vf 0, the rule can be created, but not take effect:: - - testpmd> flow create 0 ingress pattern eth dst is 68:05:ca:8d:ed:a8 / ipv4 src is 192.168.0.1 dst is 192.168.0.2 tos is 4 ttl is 3 / tcp src is 25 dst is 23 / end actions vf id 0 / end - testpmd> flow list 0 - - check the rule exists in the list. - -2. send matched packet:: - - sendp([Ether(dst="68:05:ca:8d:ed:a8")/IP(src="192.168.0.1",dst="192.168.0.2",tos=4,ttl=3)/TCP(sport=25,dport=23)/("X"*480)], iface="enp27s0f0", count=1) - - check the packet not to port 0, the rule doesn't take effect. - -Subcase 2: can not create rule on vf 1 +Subcase 1: can not create rule on vf 1 -------------------------------------- 1. create rule on vf 1:: @@ -2063,7 +2047,7 @@ Subcase 2: can not create rule on vf 1 there is no rule listed. -Subcase 3: unsupported pattern in comms +Subcase 2: unsupported pattern in comms --------------------------------------- 1. create an SCTP rule which is not supported in comms:: @@ -2082,7 +2066,7 @@ Subcase 3: unsupported pattern in comms check the rule not exists in the list. -Subcase 4: unsupported pattern in os default, but supported in comms +Subcase 3: unsupported pattern in os default, but supported in comms -------------------------------------------------------------------- 1. load os default package and launch testpmd as step 3-8 in Prerequisites. @@ -2105,7 +2089,7 @@ Subcase 4: unsupported pattern in os default, but supported in comms 5. repeat step 2-5 with also not supported pattern MAC_IPV4_PFCP_NODE/MAC_IPV4_L2TPv3/MAC_IPV4_ESP, get the same result. -Subcase 5: unsupported input set +Subcase 4: unsupported input set -------------------------------- 1. create an nvgre rule with unsupported input set field [inner tos]:: @@ -2124,7 +2108,7 @@ Subcase 5: unsupported input set check the rule not exists in the list. -Subcase 6: invalid vf id +Subcase 5: invalid vf id ------------------------ 1. create a rule with invalid vf id 5:: @@ -2143,7 +2127,7 @@ Subcase 6: invalid vf id check the rule not exists in the list. -Subcase 7: delete a non-existing rule +Subcase 6: delete a non-existing rule ------------------------------------- 1. check the rule list:: @@ -2164,7 +2148,7 @@ Subcase 7: delete a non-existing rule check no error reports. -Subcase 8: add long switch rule +Subcase 7: add long switch rule ------------------------------- Description: A recipe has 5 words, one of which is reserved for switch ID,