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 DA1B3A0032; Fri, 24 Jun 2022 14:44:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCB1F4069D; Fri, 24 Jun 2022 14:44:14 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 67F57400EF for ; Fri, 24 Jun 2022 14:44:13 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 09381AA; Fri, 24 Jun 2022 15:44:13 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 09381AA DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1656074653; bh=HZmlYOrf3AqkOMqz4ObhLVrk5uc8Tjgs2dpjUh6JvZs=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=od8bosLfyRv9sGyqoTslpYxGcs6eoOLR78PfSnMrXp/ju6OQLUQBlQCm3NiBApeKu 9cw8bhMqYXP/P3pMERV4YEMU7KZImP5qPg5k/N2aiLHTqO+ua7Pp0SQzQM5nxTd6Mc 8sHocs/k4sifxdMnOmR69Xa2yRVQuEpQcxVVG7NU= Message-ID: Date: Fri, 24 Jun 2022 15:44:12 +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 v5 1/1] app/testpmd: support different input color method Content-Language: en-US To: skori@marvell.com, Xiaoyun Li , Aman Singh , Yuying Zhang , Cristian Dumitrescu Cc: dev@dpdk.org References: <20220614100518.533931-1-skori@marvell.com> <20220623125701.1136065-1-skori@marvell.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220623125701.1136065-1-skori@marvell.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/23/22 15:57, skori@marvell.com wrote: > From: Sunil Kumar Kori > > To enable input coloring, based on VLAN or DSCP, patch adds > command line interface to configure the following: > > - configuring input coloring using VLAN or DSCP while creating > meter i.e. during rte_mtr_create() > > - Update VLAN input coloring table at runtime. > > - configures protocol priorities. > > - retrieve protocol and priority information > > Depends-on: patch-22751 ("ethdev: mtr: support protocol based input color selection") > > Signed-off-by: Sunil Kumar Kori > Acked-by: Cristian Dumitrescu > --- > v4..v5: > - Update testpmd user guide. > > v3..v4: > - Replace strcmp with strcasecmp whereever is needed. > > v2..v3: > - Rebased to branch ToT dpdk-next-net/main > - Fix static keyword for newly added token parsing symbols > > v1..v2: > - Rebased to branch dpdk-next-net > - add CLIs for input coloring mechanism > > app/test-pmd/cmdline.c | 4 + > app/test-pmd/cmdline_mtr.c | 552 +++++++++++++++++++- > app/test-pmd/cmdline_mtr.h | 4 + > doc/guides/testpmd_app_ug/testpmd_funcs.rst | 35 +- > 4 files changed, 587 insertions(+), 8 deletions(-) Applied to dpdk-next-net/main, thanks.