Re: [dpdk-dev] [PATCH] kni: optimize the kni release speed

2018-04-03 Thread zhouyangchao
On Tue, Mar 27, 2018 at 12:44 AM Ferruh Yigit wrote: > On 2/6/2018 10:33 AM, zhouyangchao wrote: > > Physical addresses in the fifo named alloc_q need to be traversed to > > release in user space. The physical address to the virtual address > > conversion in kernel space is much better. > > Yes c

Re: [dpdk-dev] [PATCH] kni: optimize the kni release speed

2018-03-26 Thread Ferruh Yigit
On 2/6/2018 10:33 AM, zhouyangchao wrote: > Physical addresses in the fifo named alloc_q need to be traversed to > release in user space. The physical address to the virtual address > conversion in kernel space is much better. Yes current approach should be slower but this is not in data path, thi

[dpdk-dev] [PATCH] kni: optimize the kni release speed

2018-02-06 Thread zhouyangchao
Physical addresses in the fifo named alloc_q need to be traversed to release in user space. The physical address to the virtual address conversion in kernel space is much better. Signed-off-by: Yangchao Zhou --- lib/librte_eal/linuxapp/kni/kni_dev.h | 1 + lib/librte_eal/linuxapp/kni/kni_misc.

[dpdk-dev] [PATCH] kni: optimize the kni release speed

2018-02-06 Thread zhouyangchao
Physical addresses in the fifo named alloc_q need to be traversed to release in user space. The physical address to the virtual address conversion in kernel space is much better. Signed-off-by: Yangchao Zhou --- lib/librte_eal/linuxapp/kni/kni_dev.h | 1 + lib/librte_eal/linuxapp/kni/kni_misc.