Re: [dpdk-dev] [PATCH] ethdev: fix memory leak on removing eth rxtx callback

2018-11-23 Thread Ananyev, Konstantin
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, November 21, 2018 2:49 PM > To: wanlebing ; dev@dpdk.org; Ananyev, Konstantin > > Cc: wanlebing > Subject: Re: [dpdk-dev] [PATCH] ethdev: fix memory leak on removing eth rxtx > callback &g

Re: [dpdk-dev] [PATCH] ethdev: fix memory leak on removing eth rxtx callback

2018-11-22 Thread lebing wan
Any update? Ferruh Yigit 于2018年11月21日周三 下午10:48写道: > On 11/21/2018 1:11 PM, wanlebing wrote: > > eth rxtx callback is dynamically allocated using rte_zmalloc() > > but not released. Fix it by calling rte_free() to free callback > > when removing rxtx callback. > > I guess they are not freed inte

Re: [dpdk-dev] [PATCH] ethdev: fix memory leak on removing eth rxtx callback

2018-11-21 Thread 万乐冰
cc konstantin.ananyev konstantin.ananyev, please help. Ferruh Yigit 于2018年11月21日周三 下午10:48写道: > On 11/21/2018 1:11 PM, wanlebing wrote: > > eth rxtx callback is dynamically allocated using rte_zmalloc() > > but not released. Fix it by calling rte_free() to free callback > > when removing rxtx c

Re: [dpdk-dev] [PATCH] ethdev: fix memory leak on removing eth rxtx callback

2018-11-21 Thread Ferruh Yigit
On 11/21/2018 1:11 PM, wanlebing wrote: > eth rxtx callback is dynamically allocated using rte_zmalloc() > but not released. Fix it by calling rte_free() to free callback > when removing rxtx callback. I guess they are not freed intentionally because there is no safe way to do it. I remember Konst

[dpdk-dev] [PATCH] ethdev: fix memory leak on removing eth rxtx callback

2018-11-21 Thread wanlebing
eth rxtx callback is dynamically allocated using rte_zmalloc() but not released. Fix it by calling rte_free() to free callback when removing rxtx callback. Signed-off-by: wanlebing Signed-off-by: wanlebing --- lib/librte_ethdev/rte_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/