From patchwork Fri Jan 8 14:19:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sun, QinX" X-Patchwork-Id: 86169 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 56929A0524; Fri, 8 Jan 2021 06:45:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30B0E140DFD; Fri, 8 Jan 2021 06:45:56 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id DA3AA140DF3 for ; Fri, 8 Jan 2021 06:45:54 +0100 (CET) IronPort-SDR: j1yFahbpu5OCBBWed+lZ7JP0MPv6oi/fgZ6Kb+2su6HDzmKxsV3/jcx3RZrH0OcyPATlMJx3mE QK4Fb3YrNDpQ== X-IronPort-AV: E=McAfee;i="6000,8403,9857"; a="174037263" X-IronPort-AV: E=Sophos;i="5.79,330,1602572400"; d="scan'208";a="174037263" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2021 21:45:53 -0800 IronPort-SDR: YIWm+QdKHR1VIAUgCvmb8xkcJP3ohX7n+Y0F2Q9VR+v/BSaRQOrU7ZwktSR404GeLMM+dPI1X4 E9hXTy6btLzA== X-IronPort-AV: E=Sophos;i="5.79,330,1602572400"; d="scan'208";a="422842643" Received: from unknown (HELO dpdk-wenjielx-tetser203.icx.intel.com) ([10.240.183.105]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jan 2021 21:45:52 -0800 From: sunqin To: dts@dpdk.org Cc: sunqin Date: Fri, 8 Jan 2021 14:19:50 +0000 Message-Id: <20210108141953.8575-1-qinx.sun@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dts] [PATCH V1 0/3] change method to get maximum number of rules 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" As the addition of CVL Island card, the original method of calculating the maximum number of rules is not suitable for all cards. It needs to start testpmd with log-level=7 to query and calculate. sunqin (3): framework/pmd_output add method to get maximum number of rules tests/cvl_switch_filter change method to get maximum number of rules tests/cvl_fdir change method to get maximum threshold of rules framework/pmd_output.py | 8 +++++++ tests/TestSuite_cvl_fdir.py | 32 +++++++++++----------------- tests/TestSuite_cvl_switch_filter.py | 6 +++++- 3 files changed, 26 insertions(+), 20 deletions(-) Acked-by: Haiyang Zhao Tested-by: Sun, QinX