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 CB6DAA0A0E; Tue, 11 May 2021 13:35:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B408E40140; Tue, 11 May 2021 13:35:38 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id B47824003E for ; Tue, 11 May 2021 13:35:36 +0200 (CEST) IronPort-SDR: X4BWpu0QpNEic0i+ySQjSQUCy8EIy6xPKeUdk8m7xNshOUL2neFLKOtir5xiIKNRifjW1hLMsi SiR2HsXZdv+Q== X-IronPort-AV: E=McAfee;i="6200,9189,9980"; a="179011909" X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="179011909" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 04:35:35 -0700 IronPort-SDR: qusT9VYfsNeWBizj3kcX9Tc5yvxWuIMisUuoW8x7lyXV99Sn+xfvpBC0IF5jMOI/zC1HOe1bp1 kimlDGkJKwRg== X-IronPort-AV: E=Sophos;i="5.82,290,1613462400"; d="scan'208";a="536990186" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.224.45]) ([10.213.224.45]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2021 04:35:33 -0700 To: Haifei Luo , matan@nvidia.com, orika@nvidia.com, viacheslavo@nvidia.com, Xiaoyun Li Cc: dev@dpdk.org, thomas@monjalon.net, rasland@nvidia.com, "Singh, Jasvinder" , "Dumitrescu, Cristian" References: <20210428141015.25728-1-haifeil@nvidia.com> <20210511092810.22801-1-haifeil@nvidia.com> From: Ferruh Yigit X-User: ferruhy Message-ID: Date: Tue, 11 May 2021 12:35:29 +0100 MIME-Version: 1.0 In-Reply-To: <20210511092810.22801-1-haifeil@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: add CLI for action meter color X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/11/2021 10:28 AM, Haifei Luo wrote: > Currently action RTE_FLOW_ACTION_TYPE_METER_COLOR is defined. > Add the CLI for this action in meter policy: color type (types) > There are three types: green, yellow and red. > > Example for the new policy meter CLIs: > add port meter policy 0 1 g_actions color type green / end y_actions > color type yellow / end r_actions color type red / end > > In the above command, the action type is RTE_FLOW_ACTION_TYPE_METER_COLOR, > the meter policy action list: green -> green, yellow -> yellow, red -> red. > > V2: rebase the latest code. > > Signed-off-by: Haifei Luo > Acked-by: Ori Kam cc'ed Jasvinder & Cristian for review. This patch is not a fix but adding support for testing new meter action type, so I assume it can be postponed to next release if missing review from maintainers.