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

2022-04-14 Thread Naga Harish K, S V
Hi Jay, > -Original Message- > From: Jayatheerthan, Jay > Sent: Thursday, April 14, 2022 8:51 PM > To: Naga Harish K, S V ; > ferruh.yi...@xilinx.com; Yigit, Ferruh > Cc: dev@dpdk.org > Subject: RE: [PATCH v3] kni: optimize alloc queue release > > > -

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

2022-04-14 Thread Jayatheerthan, Jay
> -Original Message- > From: Naga Harish K, S V > Sent: Wednesday, April 13, 2022 8:27 PM > To: ferruh.yi...@xilinx.com; Yigit, Ferruh > Cc: Jayatheerthan, Jay ; dev@dpdk.org > Subject: [PATCH v3] kni: optimize alloc queue release > > the kni alloc queue

[PATCH v3] kni: optimize alloc queue release

2022-04-13 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