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 6F98EA0555; Thu, 9 Jun 2022 14:19:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D06CE4280E; Thu, 9 Jun 2022 14:19:05 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 9CAB54281C for ; Thu, 9 Jun 2022 14:19:04 +0200 (CEST) Received: from [192.168.1.40] (unknown [188.170.81.145]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 7D8872D5; Thu, 9 Jun 2022 15:19:03 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 7D8872D5 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1654777144; bh=UkYIOM+I+vDpQoBR/S+e3cy1NbjTfKzi7TlXJBmEXfc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sdwaUClWdo5J0gHM3tF2Kvwu9PGjKCQXXQHSW219uAVE9quGmGQ/687ppi3KfcSlP 5B1gnpKYe/MfoH+N42gWWGNg9Tv61SlK2Dxm0ScyHxiJ9HwmGn7TXvAdLZyXUah0dJ a9NHVNAXaHjX+yjP67mlDLKvqifbiRVX5oDYXxFE= Message-ID: Date: Thu, 9 Jun 2022 15:19:02 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v3 4/7] ethdev: add meter color mark flow action Content-Language: en-US To: Alexander Kozyrev , dev@dpdk.org Cc: cristian.dumitrescu@intel.com, jerinjacobk@gmail.com, orika@nvidia.com, thomas@monjalon.net, ivan.malov@oktetlabs.ru, ferruh.yigit@xilinx.com, mohammad.abdul.awal@intel.com, qi.z.zhang@intel.com, jerinj@marvell.com, ajit.khaparde@broadcom.com, bruce.richardson@intel.com References: <20220522105102.1692526-1-akozyrev@nvidia.com> <20220601034408.2579943-1-akozyrev@nvidia.com> <20220601034408.2579943-5-akozyrev@nvidia.com> From: Andrew Rybchenko In-Reply-To: <20220601034408.2579943-5-akozyrev@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 6/1/22 06:44, Alexander Kozyrev wrote: > Create a new Flow API action: METER_MARK. > It Meters an IP packet stream and marks its packets with colors. Is it really required to be *IP* packet? IPv4 or IPv6 or both? > Unlike the METER action, it performs no policing at all. > A user has the flexibility to create any policies with the help of > the METER_COLOR item later, only meter profile is mandatory here. > > Signed-off-by: Alexander Kozyrev