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 19821A00C3; Wed, 30 Nov 2022 04:57:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 126C840A7F; Wed, 30 Nov 2022 04:57:24 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9B7734014F for ; Wed, 30 Nov 2022 04:57:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669780642; x=1701316642; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=6pZaask8UPFQeXaQ3WchLnuwpi0uO3Dmiw5bvwYy09w=; b=PV3gsJNl1nnRuPeu85gQ71WWLrMGFHY3tqph+uZFuhwHt4xvGKhWQVaQ oaxnzVGcstWyNLBkRWfiWUbcNhYyaceLroweNMIqKGByCvn8WTFkRFNX4 r16UA+sBTjHNpKUHzqE/BxA2j5wvy/JoyfXngCNJJqjcP0DXejk/q4aD1 Fl2vJC6kfArUm/MJolaf+rr34RTmOz/ezc5os1o9PmLvwYR5wkN7AZuwY t5cUcVY/EDH+5SSRtBTjarfKS/m8ik8Y2PWAeL/zS0vKZOzj2myCYPNj3 JbwnkTC/8LkM8rdV/MsY2rgJUXGwU+OBh2cL81xrUzj6H+LRLD0NmZRnj Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="298665829" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="298665829" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2022 19:57:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10546"; a="972945012" X-IronPort-AV: E=Sophos;i="5.96,205,1665471600"; d="scan'208";a="972945012" Received: from dpdk-xuke-lab.sh.intel.com ([10.67.114.198]) by fmsmga005.fm.intel.com with ESMTP; 29 Nov 2022 19:57:20 -0800 From: Ke Xu To: dts@dpdk.org Cc: lijuan.tu@intel.com, Ke Xu , Jin Ling Subject: [DTS][PATCH V1 1/2] test_plans/ice_limit_value_test: update test plan to support represented port action from deprecated vf action Date: Wed, 30 Nov 2022 11:56:10 +0800 Message-Id: <20221130035611.99205-2-ke1.xu@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221130035611.99205-1-ke1.xu@intel.com> References: <20221130035611.99205-1-ke1.xu@intel.com> 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 A new API is introduced to replace the VF actions in DPDK 22.11. To support This new API, several modifications are made. Testpmd args are modified to support appyling representors for the new API. Rules are modified for the old API being deprecated, changing to the new API. Ports id are modified corresponding to the port representors and modified API. Signed-off-by: Jin Ling Signed-off-by: Ke Xu --- test_plans/ice_limit_value_test_test_plan.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test_plans/ice_limit_value_test_test_plan.rst b/test_plans/ice_limit_value_test_test_plan.rst index 70311efd..4b76dc17 100644 --- a/test_plans/ice_limit_value_test_test_plan.rst +++ b/test_plans/ice_limit_value_test_test_plan.rst @@ -500,8 +500,8 @@ Prerequisites 8. Launch dpdk on VF0 and VF1, and VF0 request DCF mode:: - ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf -a 0000:18:01.1 -- -i - testpmd> set portlist 1 + ./x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0xf -n 4 -a 0000:18:01.0,cap=dcf,representor=vf[1] -a 0000:18:01.1 -- -i + testpmd> set portlist 2 testpmd> set fwd rxonly testpmd> set verbose 1 testpmd> start @@ -531,17 +531,17 @@ increased, so we can create a total of 32500 switch filter rules on a DCF. 1. create 32500 rules with the same pattern, but different input set:: - testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.0 / end actions vf id 1 / end - testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.0 / end actions represented_port ethdev_port_id 1 / end + testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.0.1 / end actions represented_port ethdev_port_id 1 / end ...... - testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.114 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.114 / end actions represented_port ethdev_port_id 1 / end testpmd> flow list 0 check the rules exist in the list. 2. create one more rule:: - testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.178 / end actions vf id 1 / end + testpmd> flow create 0 ingress pattern eth / ipv4 src is 192.168.127.178 / end actions represented_port ethdev_port_id 1 / end check the rule can not be created successfully, and testpmd provide a friendly output, showing:: -- 2.25.1