Re: [PATCH] lib/mempool : rte_mempool_avail_count, fixing return bigger than mempool size

2023-05-18 Thread Yasin CANER
> From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Wednesday, 17 May 2023 13.53 > > > > On Wed, May 17, 2023 at 11:05 AM Morten Brørup > > > wrote: > > > > On Tue, 16 May 2023 13:41:46 + > > > > Yasin CANER wrote: > > >

Re: [PATCH] lib/mempool : rte_mempool_avail_count, fixing return bigger than mempool size

2023-05-17 Thread Yasin CANER
p , 17 May 2023 Çar, 12:04 tarihinde şunu yazdı: > *From:* Morten Brørup [mailto:m...@smartsharesystems.com] > *Sent:* Wednesday, 17 May 2023 10.38 > > *From:* Yasin CANER [mailto:yasinnca...@gmail.com] > *Sent:* Wednesday, 17 May 2023 10.01 > > Hello, > > > >

Re: [PATCH] lib/mempool : rte_mempool_avail_count, fixing return bigger than mempool size

2023-05-17 Thread Yasin CANER
6 May 2023 Sal, 19:04 tarihinde şunu yazdı: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Tuesday, 16 May 2023 17.24 > > > > On Tue, 16 May 2023 13:41:46 + > > Yasin CANER wrote: > > > > > From: Yasin CANER > &g

[PATCH] lib/mempool : rte_mempool_avail_count, fixing return bigger than mempool size

2023-05-16 Thread Yasin CANER
From: Yasin CANER after a while working rte_mempool_avail_count function returns bigger than mempool size that cause miscalculation rte_mempool_in_use_count. it helps to avoid miscalculation rte_mempool_in_use_count. Bugzilla ID: 1229 Signed-off-by: Yasin CANER --- lib/mempool/rte_mempool.c

[PATCH v2] lib/kni : coding style is fixed

2023-05-16 Thread Yasin CANER
Coverity issue: Bugzilla ID: 1227 Fixes: Cc: sta...@dpdk.org Cc: step...@networkplumber.org Coding style is fixed --- lib/kni/rte_kni.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/kni/rte_kni.c b/lib/kni/rte_kni.c index 2244892aae..70c2da 100644 --- a

[PATCH] lib/kni : fix memory-leak on rte_kni_rx_burst

2023-05-16 Thread Yasin CANER
Coverity issue: Bugzilla ID: 1227 Fixes: Cc: sta...@dpdk.org Cc: step...@networkplumber.org Adding new condition to check buffer is removed or not. it prevent allocation each time when rte_kni_rx_burst function called that cause memory-leak. Signed-off-by: Yasin CANER --- lib/kni/rte_kni.c