RE: [PATCH v2] kni: optimize alloc queue release

2022-04-14 Thread Naga Harish K, S V
Hi Ganapati, > -Original Message- > From: Kundapura, Ganapati > Sent: Wednesday, April 13, 2022 3:54 PM > To: Naga Harish K, S V ; Yigit, Ferruh > > Cc: Jayatheerthan, Jay ; dev@dpdk.org > Subject: RE: [PATCH v2] kni: optimize alloc queue release > > Hi

RE: [PATCH v2] kni: optimize alloc queue release

2022-04-13 Thread Kundapura, Ganapati
Hi Harish > -Original Message- > From: Naga Harish K S V > Sent: 13 April 2022 11:19 > To: Yigit, Ferruh > Cc: Jayatheerthan, Jay ; dev@dpdk.org > Subject: [PATCH v2] kni: optimize alloc queue release > > the kni alloc queue is filled with physical addre

[PATCH v2] kni: optimize alloc queue release

2022-04-12 Thread Naga Harish K S V
the kni alloc queue is filled with physical addresses of mbufs for kernel consumption. Any unused mbufs in the alloc queue are freed during shutdown sequence in rte_kni_release. In the current existing implementation, for freeing one entry of alloc queue all the objects of the mempool are traverse