[dpdk-dev] [PATCH] kni: optimizing the rte_kni_rx_burst

2015-02-24 Thread Thomas Monjalon
> > > 2014-07-23 12:15, Hemant Agrawal: > > > > The current implementation of rte_kni_rx_burst polls the fifo for > > > > buffers. > > > > Irrespective of success or failure, it allocates the mbuf and try to > > > > put them into the alloc_q > > > > if the buffers are not added to alloc_q, it fre

[dpdk-dev] [PATCH] kni: optimizing the rte_kni_rx_burst

2015-01-30 Thread Thomas Monjalon
2014-11-26 22:20, Thomas Monjalon: > Ping > > 2014-11-11 23:58, Thomas Monjalon: > > Is there anyone interested in KNI to review this patch please? > > > > > > 2014-07-23 12:15, Hemant Agrawal: > > > The current implementation of rte_kni_rx_burst polls the fifo for buffers. > > > Irrespective of

[dpdk-dev] [PATCH] kni: optimizing the rte_kni_rx_burst

2014-11-26 Thread Thomas Monjalon
Ping 2014-11-11 23:58, Thomas Monjalon: > Is there anyone interested in KNI to review this patch please? > > > 2014-07-23 12:15, Hemant Agrawal: > > The current implementation of rte_kni_rx_burst polls the fifo for buffers. > > Irrespective of success or failure, it allocates the mbuf and try to

[dpdk-dev] [PATCH] kni: optimizing the rte_kni_rx_burst

2014-11-11 Thread Thomas Monjalon
Is there anyone interested in KNI to review this patch please? 2014-07-23 12:15, Hemant Agrawal: > The current implementation of rte_kni_rx_burst polls the fifo for buffers. > Irrespective of success or failure, it allocates the mbuf and try to put them > into the alloc_q > if the buffers are no

[dpdk-dev] [PATCH] kni: optimizing the rte_kni_rx_burst

2014-07-23 Thread Hemant Agrawal
The current implementation of rte_kni_rx_burst polls the fifo for buffers. Irrespective of success or failure, it allocates the mbuf and try to put them into the alloc_q if the buffers are not added to alloc_q, it frees them. This waste lots of cpu cycles in allocating and freeing the buffers if a