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 3BA12A0093; Thu, 23 Jun 2022 13:05:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5B5E40042; Thu, 23 Jun 2022 13:05:47 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 726274003F for ; Thu, 23 Jun 2022 13:05:46 +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 AECD9AC; Thu, 23 Jun 2022 14:05:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru AECD9AC DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1655982345; bh=8F+QLA2+ME6klJwNPoXxYXAMN8GtdVw+h/NoC5KkNVI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=IJYHpjUPFpq2yvo+7zCnsi3c+vyEE3d+W+FNxi+N/CLFpGFloonVUgNhddRc55Q1s wRuQ8O9VF4Sbju7kru6ZF6wnCBb2KvXMs8/EJSZiiYl8+IVlHRCiWvISJphI68aHwT 5U83W0/YizUxdvccMTDbzwZIvKYilSJ23ZDGgiuM= Message-ID: Date: Thu, 23 Jun 2022 14:05:45 +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 v4 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: <20220603130627.149785-1-skori@marvell.com> <20220614100518.533931-1-skori@marvell.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220614100518.533931-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/14/22 13:05, 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 > --- > 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 + > 3 files changed, 554 insertions(+), 6 deletions(-) doc/guides/testpmd_app_ug/testpmd_funcs.rst update is missing. Please, respin it quickly and I'll process it today.