Re: [dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-03-10 Thread Jay Rolette
On Fri, Mar 10, 2017 at 6:59 AM, Thomas Monjalon wrote: > 2017-01-18 07:11, Jay Rolette: > > On Wed, Jan 18, 2017 at 5:05 AM, Sergey Vyazmitinov < > > s.vyazmiti...@brain4net.com> wrote: > > > > > On Thu, Jan 12, 2017 at 12:29 AM, Ferruh Yigit > > > > wrote: > > > > > > > On 12/29/2016 11:23 PM

Re: [dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-03-10 Thread Thomas Monjalon
2017-01-18 07:11, Jay Rolette: > On Wed, Jan 18, 2017 at 5:05 AM, Sergey Vyazmitinov < > s.vyazmiti...@brain4net.com> wrote: > > > On Thu, Jan 12, 2017 at 12:29 AM, Ferruh Yigit > > wrote: > > > > > On 12/29/2016 11:23 PM, Sergey Vyazmitinov wrote: > > > > This allow to significant reduces packe

Re: [dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-01-18 Thread Jay Rolette
On Wed, Jan 18, 2017 at 5:05 AM, Sergey Vyazmitinov < s.vyazmiti...@brain4net.com> wrote: > On Thu, Jan 12, 2017 at 12:29 AM, Ferruh Yigit > wrote: > > > On 12/29/2016 11:23 PM, Sergey Vyazmitinov wrote: > > > This allow to significant reduces packets processing latency. > > > > > > Signed-off-b

Re: [dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-01-18 Thread Ferruh Yigit
On 1/18/2017 11:05 AM, Sergey Vyazmitinov wrote: > > > On Thu, Jan 12, 2017 at 12:29 AM, Ferruh Yigit > wrote: > <...> > &knet->kni_list_head, list) { > > + for (i = 0; i < KNI_RX_DATA_LOOP_NUM; ++i) { > > When there are multiple KNI interfaces,

Re: [dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-01-18 Thread Sergey Vyazmitinov
On Thu, Jan 12, 2017 at 12:29 AM, Ferruh Yigit wrote: > On 12/29/2016 11:23 PM, Sergey Vyazmitinov wrote: > > This allow to significant reduces packets processing latency. > > > > Signed-off-by: Sergey Vyazmitinov > > --- > > .../linuxapp/eal/include/exec-env/rte_kni_common.h | 6 > > li

Re: [dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-01-11 Thread Ferruh Yigit
On 12/29/2016 11:23 PM, Sergey Vyazmitinov wrote: > This allow to significant reduces packets processing latency. > > Signed-off-by: Sergey Vyazmitinov > --- > .../linuxapp/eal/include/exec-env/rte_kni_common.h | 6 > lib/librte_eal/linuxapp/kni/kni_misc.c | 33 > +

[dpdk-dev] [PATCH] kni: fast data availability check in thread_single loop

2017-01-10 Thread Sergey Vyazmitinov
This allow to significant reduces packets processing latency. Signed-off-by: Sergey Vyazmitinov --- .../linuxapp/eal/include/exec-env/rte_kni_common.h | 6 lib/librte_eal/linuxapp/kni/kni_misc.c | 33 -- 2 files changed, 30 insertions(+), 9 deletions(-) dif