[dpdk-dev] [PATCH] app/testpmd: fix missing GENEVE item in helper func

Andrew Rybchenko arybchenko at solarflare.com
Fri Jan 10 07:54:27 CET 2020


On 1/8/20 6:07 PM, Dekel Peled wrote:
> Previous patch added support of GENEVE pattern item in flow rule.
> Function flow_item_default_mask() was not updated, so using it with
> GENEVE item returns null.
> Using testpmd command "set raw_decap" or "set raw_encap" with
> GENEVE item, without specifying any parameters, results in
> segmentation fault.
> 
> This patch updates function flow_item_default_mask(),
> adding case to handle GENEVE item.
> 
> Fixes: 0f4203fe9d18 ("app/testpmd: support GENEVE pattern item in flow rules")
> Cc: Roman Zhukov <roman.zhukov at oktetlabs.ru>
> Cc: Andrew Rybchenko <arybchenko at solarflare.com>
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dekel Peled <dekelp at mellanox.com>

Acked-by: Andrew Rybchenko <arybchenko at solarflare.com>


More information about the dev mailing list