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 CADFC4292C; Thu, 13 Apr 2023 04:04:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C514740FAE; Thu, 13 Apr 2023 04:04:25 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 0C02E4021F for ; Thu, 13 Apr 2023 04:04:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681351464; x=1712887464; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=mLPrkfeOD6kfsxYppTL10Vo+4riUth+cNPL2D9PCm54=; b=ianvEzVa47Q+kDfBVjnWaE2bZhYyoKuInkuqIQRHoBnHdaPHTD5vhk9L R0NW10twEXAoyXH9b4gO/ghCfGo1EAp5tOlhs2NNvIxFmFsy1RoFhE4hd kjE31K1sGG6T3nznL/K9IrwaiaVaGpp4ZvZMlhC7FoygTgbnnL62D6dv9 KkmdapO6V2G+Ha47WUj1+FatdO61fmx8ZJvhi2qCjQjeJKywN65c7Wzf4 2E/zzfJQWrfS0St29RkrmxkMo6sxEPRsHA04aBz2CvzyO1zGtmt/GJF9W Uh0gvBRfzmkzpcwakyu7hU3cJNa4bEhujU7v8UkbVaZD27pR2b+ZlX2SF Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="371918312" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="371918312" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 19:04:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10678"; a="863536236" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="863536236" Received: from unknown (HELO localhost.localdomain) ([10.239.252.196]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 19:04:21 -0700 From: Yu Jiang To: ke1.xu@intel.com, dts@dpdk.org Cc: Yu Jiang Subject: [dts][PATCH V1] test_plans/ice_dcf_switch_filter: update test plan to support represented port action from deprecated vf action Date: Thu, 13 Apr 2023 10:04:16 +0800 Message-Id: <20230413020417.1413199-1-yux.jiang@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 According to dpdk22.11 commit id: 776c119736 net/ice: remove deprecated VF flow action c0444f6273 net/ice: support represented port flow action update test plan to support represented port action from deprecated RTE_FLOW TO_VF action Signed-off-by: Yu Jiang --- test_plans/ice_dcf_switch_filter_test_plan.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test_plans/ice_dcf_switch_filter_test_plan.rst b/test_plans/ice_dcf_switch_filter_test_plan.rst index 10364c38..b4d9b968 100644 --- a/test_plans/ice_dcf_switch_filter_test_plan.rst +++ b/test_plans/ice_dcf_switch_filter_test_plan.rst @@ -4303,7 +4303,7 @@ Subcase 1: MAC_IPV4_UDP + L4 MASK + single vf ---------------------------------------------- 1. validate a rule:: - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions vf id 1 / end + testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions represented_port ethdev_port_id 1 / end get the message:: @@ -4317,7 +4317,7 @@ Subcase 1: MAC_IPV4_UDP + L4 MASK + single vf 2. create MAC_IPV4_L2TP_PAY rule:: - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions vf id 1 / end + testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp src spec 2152 src mask 0xff00 dst spec 1281 dst mask 0x00ff / end actions represented_port ethdev_port_id 1 / end testpmd> flow list 0 check the rule exists in the list. @@ -4347,7 +4347,7 @@ Subcase 2: MAC_IPV6_TCP + L4 MASK + single vf ---------------------------------------------- 1. validate a rule:: - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions vf id 1 / end + testpmd> flow validate 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions represented_port ethdev_port_id 1 / end get the message:: @@ -4361,7 +4361,7 @@ Subcase 2: MAC_IPV6_TCP + L4 MASK + single vf 2. create MAC_IPV4_L2TP_PAY rule:: - testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions vf id 1 / end + testpmd> flow create 0 priority 0 ingress pattern eth / ipv6 / tcp dst spec 3333 dst mask 0x0ff0 / end actions represented_port ethdev_port_id 1 / end testpmd> flow list 0 check the rule exists in the list. @@ -4391,7 +4391,7 @@ Subcase 3: MAC_IPV4_UDP_VXLAN_MAC_IPV4_UDP + L4 MASK + single vf 1. validate a rule:: testpmd> rx_vxlan_port add 4789 0 - testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions vf id 1 / end + testpmd> flow validate 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions represented_port ethdev_port_id 1 / end get the message:: @@ -4405,7 +4405,7 @@ Subcase 3: MAC_IPV4_UDP_VXLAN_MAC_IPV4_UDP + L4 MASK + single vf 2. create MAC_IPV4_L2TP_PAY rule:: - testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions vf id 1 / end + testpmd> flow create 0 priority 0 ingress pattern eth / ipv4 / udp / vxlan / eth / ipv4 / udp src spec 32 src mask 0x0f / end actions represented_port ethdev_port_id 1 / end testpmd> flow list 0 check the rule exists in the list. @@ -4434,7 +4434,7 @@ Subcase 4: MAC_IPV4_NVGRE_MAC_IPV4_UDP + L4 MASK + single vf ------------------------------------------------------------- 1. validate a rule:: - testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions vf id 1 / end + testpmd> flow validate 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions represented_port ethdev_port_id 1 / end get the message:: @@ -4448,7 +4448,7 @@ Subcase 4: MAC_IPV4_NVGRE_MAC_IPV4_UDP + L4 MASK + single vf 2. create MAC_IPV4_L2TP_PAY rule:: - testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / ipv4 dst is 192.168.0.1 / nvgre tni is 0x8 / eth / ipv4 src is 192.168.0.2 dst is 192.168.0.3 / udp src spec 1280 src mask 0x00ff / end actions represented_port ethdev_port_id 1 / end testpmd> flow list 0 check the rule exists in the list. -- 2.25.1