[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Jerin Jacob
omas Monjalon ; Juhamatti Kuusisaari > > ; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee > > ordering before tail update > > > > On Sat, Jul 23, 2016 at 11:15:27AM +, Ananyev, Konstantin wrote: > > > > > &

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Jerin Jacob
omas Monjalon ; Juhamatti Kuusisaari > > ; dev at dpdk.org > > Subject: Re: [dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee > > ordering before tail update > > > > On Sat, Jul 23, 2016 at 10:14:51AM +, Ananyev, Konstantin wrote: > > > Hi lads, &g

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Jerin Jacob
On Sat, Jul 23, 2016 at 10:14:51AM +, Ananyev, Konstantin wrote: > Hi lads, > > > On Sat, Jul 23, 2016 at 11:02:33AM +0200, Thomas Monjalon wrote: > > > 2016-07-23 8:05 GMT+02:00 Jerin Jacob : > > > > On Thu, Jul 21, 2016 at 11:26:50PM +0200, Thomas Monjalon wrote: > > > >> > > Consumer queue

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Jerin Jacob
On Sat, Jul 23, 2016 at 11:02:33AM +0200, Thomas Monjalon wrote: > 2016-07-23 8:05 GMT+02:00 Jerin Jacob : > > On Thu, Jul 21, 2016 at 11:26:50PM +0200, Thomas Monjalon wrote: > >> > > Consumer queue dequeuing must be guaranteed to be done fully before > >> > > the tail is updated. This is not

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Ananyev, Konstantin
Sent: Saturday, July 23, 2016 11:39 AM > > > To: Ananyev, Konstantin > > > Cc: Thomas Monjalon ; Juhamatti > > > Kuusisaari ; dev at dpdk.org > > > Subject: Re: [dpdk-dev] [PATCH] lib: change rte_ring dequeue to > > > guarantee ordering b

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Jerin Jacob
On Thu, Jul 21, 2016 at 11:26:50PM +0200, Thomas Monjalon wrote: > > > Consumer queue dequeuing must be guaranteed to be done fully before the > > > tail is updated. This is not guaranteed with a read barrier, > > > changed to a write barrier just before tail update which in practice > > >

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Ananyev, Konstantin
> -Original Message- > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > Sent: Saturday, July 23, 2016 11:39 AM > To: Ananyev, Konstantin > Cc: Thomas Monjalon ; Juhamatti Kuusisaari > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib: ch

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Thomas Monjalon
2016-07-23 8:05 GMT+02:00 Jerin Jacob : > On Thu, Jul 21, 2016 at 11:26:50PM +0200, Thomas Monjalon wrote: >> > > Consumer queue dequeuing must be guaranteed to be done fully before the >> > > tail is updated. This is not guaranteed with a read barrier, >> > > changed to a write barrier just

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-23 Thread Ananyev, Konstantin
Hi lads, > On Sat, Jul 23, 2016 at 11:02:33AM +0200, Thomas Monjalon wrote: > > 2016-07-23 8:05 GMT+02:00 Jerin Jacob : > > > On Thu, Jul 21, 2016 at 11:26:50PM +0200, Thomas Monjalon wrote: > > >> > > Consumer queue dequeuing must be guaranteed to be done fully > > >> > > before the tail is

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-22 Thread Thomas Monjalon
> > Consumer queue dequeuing must be guaranteed to be done fully before the > > tail is updated. This is not guaranteed with a read barrier, > > changed to a write barrier just before tail update which in practice > > guarantees correct order of reads and writes. > > > > Signed-off-by:

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-15 Thread Ananyev, Konstantin
> > Consumer queue dequeuing must be guaranteed to be done fully before the tail > is updated. This is not guaranteed with a read barrier, > changed to a write barrier just before tail update which in practice > guarantees correct order of reads and writes. > > Signed-off-by: Juhamatti

[dpdk-dev] [PATCH] lib: change rte_ring dequeue to guarantee ordering before tail update

2016-07-15 Thread Juhamatti Kuusisaari
Consumer queue dequeuing must be guaranteed to be done fully before the tail is updated. This is not guaranteed with a read barrier, changed to a write barrier just before tail update which in practice guarantees correct order of reads and writes. Signed-off-by: Juhamatti Kuusisaari ---