From: Dapeng Yu
After the meter policies are created, they are not freed on device
close.
This patch fixes it.
Fixes: 5f0d54f372f0 ("ethdev: add pre-defined meter policy API")
Cc: sta...@dpdk.org
Signed-off-by: Dapeng Yu
---
drivers/net/softnic/rte_eth_softnic_meter.c | 12
1 fi
> -Original Message-
> From: Yu, DapengX
> Sent: Tuesday, July 13, 2021 9:27 AM
> To: Singh, Jasvinder ; Dumitrescu, Cristian
>
> Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org
> Subject: [PATCH] net/softnic: fix memory leak as profile is freed
>
> From: Dapeng Yu
>
> In function s
On 7/9/21 9:00 AM, dapengx...@intel.com wrote:
> From: Dapeng Yu
>
> In function softnic_conn_init(), a block of memory is allocated as
> connection buffer, but it is never freed in softnic_conn_free(),
> which cause memory leak.
>
> This patch fixes it.
>
> Fixes: 7709a63bf178 ("net/softnic: a
@Jasvinder, @Cristian, could you the patch, please.
On 7/8/21 11:44 AM, dapengx...@intel.com wrote:
> From: Dapeng Yu
>
> In function pmd_parse_args(), firmware path is duplicated from device
> arguments as character string, but is never freed, which cause memory
> leak.
>
> This patch changes
From: Dapeng Yu
In function softnic_table_action_profile_free(), the memory referenced
by pointer "ap" in the instance of "struct softnic_table_action_profile"
is not freed.
This patch fixes it.
Fixes: a737dd4e5863 ("net/softnic: add table action profile")
Cc: sta...@dpdk.org
Signed-off-by: Da
From: Dapeng Yu
In function softnic_conn_init(), a block of memory is allocated as
connection buffer, but it is never freed in softnic_conn_free(),
which cause memory leak.
This patch fixes it.
Fixes: 7709a63bf178 ("net/softnic: add connection agent")
Cc: sta...@dpdk.org
Signed-off-by: Dapeng
From: Dapeng Yu
In function pmd_parse_args(), firmware path is duplicated from device
arguments as character string, but is never freed, which cause memory
leak.
This patch changes the type of firmware member of struct pmd_params to
character array, to make memory resource release unnecessary, a
When sending request messages to data plane thread, the
caller must free the memory allocated to request message
on receiving error response.
Coverity Issue: 357717, 357772
Fixes: 70709c78fda6 ("net/softnic: add command to enable/disable pipeline")
Signed-off-by: Jasvinder Singh
---
drivers/net
8 matches
Mail list logo