From patchwork Fri Apr 9 12:49:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sun, QinX" X-Patchwork-Id: 90933 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 984D4A0A0C; Fri, 9 Apr 2021 06:14:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75A6F141303; Fri, 9 Apr 2021 06:14:23 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id E1350141300 for ; Fri, 9 Apr 2021 06:14:21 +0200 (CEST) IronPort-SDR: nDcYJj7UT6+wd+298LyvZwq3XUJArDe6gN3dmNwRq6fAyrrpDzTqQ7IPLpVkrgc4KSvoKU8T16 coLIYKzHLAWw== X-IronPort-AV: E=McAfee;i="6000,8403,9948"; a="193724808" X-IronPort-AV: E=Sophos;i="5.82,208,1613462400"; d="scan'208";a="193724808" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 21:14:21 -0700 IronPort-SDR: ulwqonN8lseHmLXqv6aG8GGRn+ETgVets6ifu37z7VWc24aDfTd+TFgMH4JyN7t0ESslzZv6uE yikwplABx0nA== X-IronPort-AV: E=Sophos;i="5.82,208,1613462400"; d="scan'208";a="613587686" Received: from unknown (HELO localhost.localdomain) ([10.240.183.105]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 21:14:20 -0700 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Fri, 9 Apr 2021 12:49:32 +0000 Message-Id: <20210409124932.31720-3-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210409124932.31720-1-qinx.sun@intel.com> References: <20210409124932.31720-1-qinx.sun@intel.com> Subject: [dts] [PATCH V2 2/2] test_plans/cvl_limit_value_test: adapt to chapman beach for test plan 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" add description about maximum rules for chapman beach card in this plan Signed-off-by: sunqin --- test_plans/cvl_limit_value_test_test_plan.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test_plans/cvl_limit_value_test_test_plan.rst b/test_plans/cvl_limit_value_test_test_plan.rst index 242eb9a7..9cb0cf09 100644 --- a/test_plans/cvl_limit_value_test_test_plan.rst +++ b/test_plans/cvl_limit_value_test_test_plan.rst @@ -154,6 +154,8 @@ Subcase 1: 14336 rules on 1 vf Subcase 2: 14336 rules on 2 vfs of 2pfs --------------------------------------- +For chapman beach 100g*2 NIC, if 2 vfs generated by one pf port,they will share 14336 rules, +if 2 vfs generated by 2 pf port, each vf can create 14336 rules at most. 1. start testpmd on vf00:: @@ -195,6 +197,8 @@ each pf can create 512 rules at least in 4 ports card. there are 14k rules shared by pfs and vfs. so 1 pf and 2 vfs can create 15360 rules at most on 2 ports card. 1 pf and 2 vfs can create 14848 rules at most on 4 ports card. +if hardware is chapman beach 100g*2, 1 pf can create 2048 rules,vfs generated by the same pf share 14336 rules,so +this card can create (2048 + 14336)*2=32768 rules. 1. create 1025 rules on pf0:: @@ -265,6 +269,8 @@ there are 14k rules shared by pfs and vfs. so 1 pf and 2 vfs can create 15360 rules at most on 2 ports card. 1 pf and 2 vfs can create 14848 rules at most on 4 ports card. so if create 15360/14848 rules on 1 pf, there can't create rule on vf successfully. +if hardware is chapman beach 100g*2, 1 pf can create 2048 rules,vfs generated by the same pf share 14336 rules, +so if create 16384 rules on pf1,check failed to create rule on vf00 and vf10(vf00 and vf10 generated by pf1). 1. create 15360 rules on pf0::