[dpdk-dev] [PATCH v3] app/testpmd: support age shared action context

Ferruh Yigit ferruh.yigit at intel.com
Wed Nov 11 13:51:50 CET 2020


On 11/10/2020 5:06 PM, Matan Azrad wrote:
> When an age action becomes aged-out the next call for
> rte_flow_get_aged_flows API should return the action context supplied
> by the action configuration structure.
> 
> In case the age action is created by the shared action API, the shared
> action context of the Testpmd application was not set.
> 
> In addition, the application handler of the contexts returned by the
> rte_flow_get_aged_flows API didn't consider the fact that the action
> could be set by the shared action API and considered it as regular flow
> context.
> 
> This caused a crash in Testpmd when the context is parsed.
> 
> This patch set context type in the flow and shared action context and
> uses it to parse the aged-out contexts correctly.
> 
> Signed-off-by: Matan Azrad <matan at nvidia.com>
> Acked-by: Dekel Peled <dekelp at nvidia.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

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



More information about the dev mailing list