[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 12:32:01PM +, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: Jerin Jacob [mailto:jerin.jacob at caviumnetworks.com] > > Sent: Saturday, July 23, 2016 12:49 PM > > To: Ananyev, Konstantin > > Cc: Thomas Monjalon ; Juhamatti Kuusisaari > > ; de

[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:15:27AM +, Ananyev, Konstantin wrote: > > > > -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 > > ; de

[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 gua

[dpdk-dev] [RFC] Generic flow director/filtering/classification API

2016-07-23 Thread John Fastabend
On 16-07-21 12:20 PM, Adrien Mazarguil wrote: > Hi Jerin, > > Sorry, looks like I missed your reply. Please see below. > Hi Adrian, Sorry for a bit delay but a few comments that may be worth considering. To start with completely agree on the general problem statement and the nice summary of al

[dpdk-dev] Configuring NIC Tx arbiters in VMDK off, DCB off mode

2016-07-23 Thread Lavanya Jose
Hi everyone, I found a snippet of code from a userspace driver that lets you configure weights for the hardware NIC tx queues by configuring the RTTDT1C register in Intel 82599. It looks like this is typically used for

[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 12:49 PM > To: Ananyev, Konstantin > Cc: Thomas Monjalon ; Juhamatti Kuusisaari > ; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] lib: change rte_ring dequeue to guara

[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 > > > guaran

[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: change rte_ring dequeue to guara

[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 befor

[dpdk-dev] [PATCH] timer: fix break list when timer_cb reset running timer

2016-07-23 Thread Thomas Monjalon
2016-07-23 0:14 GMT+02:00 Sanford, Robert : > Acked-by: Robert Sanford > > I tested the three timer patches with app/test timer_autotest and > timer_racecond_autotest, and additional private tests. Thanks Robert. Are you confident enough to integrate them in the last days of 16.07? How critical a

[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 updat