[PATCH v3 11/11] app/testpmd: adjust cleanup sequence when quitting
Singh, Aman Deep
aman.deep.singh at intel.com
Fri Feb 3 12:00:43 CET 2023
On 1/30/2023 6:50 PM, Rongwei Liu wrote:
> If flex item is referenced in async flow either by
> pattern template or action template, currently testpmd
> complains "flex item has flow references". Flex items should
> be flushed after async flow resources cleanup.
>
> Signed-off-by: Rongwei Liu <rongweil at nvidia.com>
> Acked-by: Ori Kam <orika at nvidia.com>
Acked-by: Aman Singh <aman.deep.singh at intel.com>
> ---
> app/test-pmd/testpmd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c
> index 134d79a555..e35f7a0e7a 100644
> --- a/app/test-pmd/testpmd.c
> +++ b/app/test-pmd/testpmd.c
> @@ -3298,10 +3298,10 @@ flush_port_owned_resources(portid_t pi)
> {
> mcast_addr_pool_destroy(pi);
> port_flow_flush(pi);
> - port_flex_item_flush(pi);
> port_flow_template_table_flush(pi);
> port_flow_pattern_template_flush(pi);
> port_flow_actions_template_flush(pi);
> + port_flex_item_flush(pi);
> port_action_handle_flush(pi);
> }
>
More information about the dev
mailing list