[PATCH v2] app/testpmd: fix flex parser destroy command

Andrew Rybchenko andrew.rybchenko at oktetlabs.ru
Thu Jun 23 13:22:32 CEST 2022


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 at dpdk.org
> 
> Fixes: 2d3d84013508 ("app/testpmd: fix flex item flush")
> Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Reviewed-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
> v2: fix compilation warning on setups without JSON library.
> ---

Reviewed-by: Andrew Rybchenko <andrew.rybchenko at oktetlabs.ru>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list