Re: [PATCH v4] kni: optimize alloc queue release

2022-05-31 Thread Naga Harish K, S V
@dpdk.org Subject: [PATCH v4] kni: optimize alloc queue release 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 existing implementation, for freeing one entry of alloc

[PATCH v4] kni: optimize alloc queue release

2022-04-14 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 existing implementation, for freeing one entry of alloc queue all the objects of the mempool are traversed to fin