[PATCH v2] net/mlx5: fix the drop action memory leak

Raslan Darawsheh rasland at nvidia.com
Tue Jul 18 13:58:16 CEST 2023


,
x
> -----Original Message-----
> From: Bing Zhao <bingz at nvidia.com>
> Sent: Thursday, July 13, 2023 2:20 PM
> To: Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>; Ori Kam <orika at nvidia.com>; Suanming Mou
> <suanmingm at nvidia.com>; Raslan Darawsheh <rasland at nvidia.com>
> Cc: dev at dpdk.org; stable at dpdk.org; David Marchand
> <david.marchand at redhat.com>; Mário Kuka <kuka at cesnet.cz>
> Subject: [PATCH v2] net/mlx5: fix the drop action memory leak
> 
> In DV mode, when quitting an application, the default drop action
> and its resources should be released. The Devx action for the TIR
> was not destroyed and it would cause 80B memory leak.
> 
> With this commit, in DV mode, the action should be destroyed in the
> mlx5_devx_drop_action_destroy() explicitly.
> 
> Bugzilla ID: 1192
> Bugzilla ID: 1255
> 
> Fixes: bc5bee028ebc ("net/mlx5: create drop queue using DevX")
> Cc: stable at dpdk.org
> 
> Reported-by: David Marchand <david.marchand at redhat.com>
> Reported-by: Mário Kuka<kuka at cesnet.cz>
> Signed-off-by: Bing Zhao <bingz at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---
> v2: added the reporter

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh


More information about the dev mailing list