From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1DCA9A04B1; Mon, 23 Nov 2020 06:30:55 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 86AA2375B; Mon, 23 Nov 2020 06:30:54 +0100 (CET) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id DB5DF23D for ; Mon, 23 Nov 2020 06:30:51 +0100 (CET) IronPort-SDR: FLywERRtU2iOSCCfSe6css4J799jrD+1pTQ51QO/SBsYMY6YD39OdrNInY/M+rhRtdfDKNDj8k M52/MfYoUhTA== X-IronPort-AV: E=McAfee;i="6000,8403,9813"; a="189819393" X-IronPort-AV: E=Sophos;i="5.78,361,1599548400"; d="scan'208";a="189819393" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2020 21:30:49 -0800 IronPort-SDR: ZfcLHQ4+fa+v7pU0DB8Ri7d/QaMJE4cJNWDa9A6uE1wwZdil4X2UuB07sEM9M9OA5n/L+5sHed yI8yYlc6NoUg== X-IronPort-AV: E=Sophos;i="5.78,361,1599548400"; d="scan'208";a="312104437" Received: from unknown (HELO localhost.localdomain) ([10.240.183.105]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2020 21:30:48 -0800 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Mon, 23 Nov 2020 14:06:06 +0000 Message-Id: <20201123140606.6139-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1] test_plans/cvl_limit_value_test add title for test plan 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" Add title for cvl_limit_value_test plan Signed-off-by: sunqin --- test_plans/cvl_limit_value_test_test_plan.rst | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/test_plans/cvl_limit_value_test_test_plan.rst b/test_plans/cvl_limit_value_test_test_plan.rst index 4c141a17..8c8402e9 100644 --- a/test_plans/cvl_limit_value_test_test_plan.rst +++ b/test_plans/cvl_limit_value_test_test_plan.rst @@ -30,7 +30,12 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +======================== +CVL Limit Value Test +======================== +Description +=========== Supported function type ----------------------- @@ -51,7 +56,6 @@ Supported action type mark mark/rss - Prerequisites ============= @@ -103,13 +107,14 @@ Prerequisites >>> from scapy.contrib.mpls import * Test case: Max number -===================== +====================== + All the max number cases are designed based on 2*100G NIC. If the hardware is 4*25G NIC, the guaranteed rule number of PF is 512. So in subcase 3 and subcase 4, there can be created at most 14848 rules on 1pf and 2vfs. Subcase 1: 14336 rules on 1 vf ------------------------------- +------------------------------- 1. create 14336 rules on vf00:: @@ -183,6 +188,7 @@ Subcase 2: 14336 rules on 2 vfs of 2pfs Subcase 3: 1025 rules on 1pf and 14335 rules on 2vfs ---------------------------------------------------- + each pf can create 1024 rules at least in 2 ports card. each pf can create 512 rules at least in 4 ports card. there are 14k rules shared by pfs and vfs. @@ -249,8 +255,9 @@ so 1 pf and 2 vfs can create 15360 rules at most on 2 ports card. 8. verify matched packet received without FDIR matched ID. -Subcase 3: 15360 rules on 1pf and 0 rules on 2vfs +Subcase 4: 15360 rules on 1pf and 0 rules on 2vfs ------------------------------------------------- + each pf can create 1024 rules at least in 2 ports card. each pf can create 512 rules at least in 4 ports card. there are 14k rules shared by pfs and vfs. @@ -321,7 +328,6 @@ so if create 15360/14848 rules on 1 pf, there can't create rule on vf successful 9. send matched packet to vf00, it can be redirected to queue 1 with FDIR matched ID=0x0. send matched packet to vf10, it can be redirected to queue 1 with FDIR matched ID=0x0. - Test case: Stress test ====================== @@ -436,7 +442,7 @@ Prerequisites ./testpmd -c 0xff -n 6 -w 86:00.0 -w 86:00.1 --log-level="ice,7" -- -i --portmask=0xff --rxq=64 --txq=64 --port-topology=loop Test case: add/delete rules ---------------------------- +============================ 1. create two rules:: @@ -591,4 +597,4 @@ create a total of 32563 switch filter rules on a DCF. testpmd> flow list 0 check the rules not exist in the list. - send 32563 matched packets, check the packets are not to port 1. \ No newline at end of file + send 32563 matched packets, check the packets are not to port 1. -- 2.17.1