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 0D3CAA0093; Thu, 23 Jun 2022 13:22:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1AE340042; Thu, 23 Jun 2022 13:22:34 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 6E3874003F; Thu, 23 Jun 2022 13:22:33 +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)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id EC332AC; Thu, 23 Jun 2022 14:22:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru EC332AC DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1655983353; bh=4VJtLDb6jTLEqQMrFusMGre/NXUq3xgM5LggroJ+aHc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=mBErWgWa5vHSYd54ZsYqXbh87B41uu5ZyqSoLtga77GJ/XurvvwfeljrJJ6nOv+vi TegGSMm6ujscS3qRNPEnMkiMNO0BR6zNwxu6NLBFVDiRpYyalwB9tYq6uSmyusFrvs P61lT6xIRM5hpdQmk/GToDPgKSdNVEdV6hPgt18I= Message-ID: <68bf1860-1623-5313-2b53-0268695d8d7b@oktetlabs.ru> Date: Thu, 23 Jun 2022 14:22:32 +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 v2] app/testpmd: fix flex parser destroy command Content-Language: en-US To: Gregory Etelson , dev@dpdk.org Cc: matan@nvidia.com, rasland@nvidia.com, stable@dpdk.org, Viacheslav Ovsiienko , Xiaoyun Li , Aman Singh , Yuying Zhang References: <20220616080744.5832-1-getelson@nvidia.com> <20220616091535.26349-1-getelson@nvidia.com> From: Andrew Rybchenko Organization: OKTET Labs In-Reply-To: <20220616091535.26349-1-getelson@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/16/22 12:15, Gregory Etelson wrote: > The patch separates flex item destruction function implementation. > Setups with installed JSON development library can use any value in > range [0, FLEX_MAX_PARSERS_NUM - 1] as input flex item ID. > In setups without JSON development library flex item destruction > function is resolved to empty stub. > > cc: stable@dpdk.org > > Fixes: 2d3d84013508 ("app/testpmd: fix flex item flush") > Signed-off-by: Gregory Etelson > Reviewed-by: Viacheslav Ovsiienko > --- > v2: fix compilation warning on setups without JSON library. > --- Reviewed-by: Andrew Rybchenko Applied to dpdk-next-net/main, thanks.