Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-16 Thread Olivier Matz
On Tue, Jul 16, 2019 at 10:47:20AM +0200, Olivier Matz wrote: > On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote: > > Currently, the flush is done by dequeuing the ring in a while loop. It is > > much simpler to flush the queue by resetting the head and tail indices. > > > > Fixes: af75078

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-16 Thread Olivier Matz
On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote: > Currently, the flush is done by dequeuing the ring in a while loop. It is > much simpler to flush the queue by resetting the head and tail indices. > > Fixes: af75078fece3 ("first public release") > Cc: sta...@dpdk.org > > Signed-off-by:

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Gavin Hu (Arm Technology China)
axim...@samsung.com; sta...@dpdk.org; Ruifeng Wang (Arm > Technology China) ; nd > Subject: RE: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring > when not in use > > > > > > > > > > > > > > > > > 29/03/2019 15:17, Olivier

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Honnappa Nagarahalli
> > > > > > > > > > > > 29/03/2019 15:17, Olivier Matz: > > > > > > > Hi, > > > > > > > > > > > > > > On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote: > > > > > > > > Currently, the flush is done by dequeuing the ring in a while > > > > > > > > loop. > > It is > > > > > > > > much simpl

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Gavin Hu (Arm Technology China)
garahalli ; > i.maxim...@samsung.com; sta...@dpdk.org; Ruifeng Wang (Arm > Technology China) > Subject: Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring > when not in use > > Hi Gavin, > > On Fri, Jul 12, 2019 at 11:06:28AM +, Gavin Hu (

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Olivier Matz
ho...@monjalon.net; dev@dpdk.org; nd ; > > jer...@marvell.com; hemant.agra...@nxp.com; nipun.gu...@nxp.com; > > Honnappa Nagarahalli ; > > i.maxim...@samsung.com; sta...@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring > > when not in

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Gavin Hu (Arm Technology China)
garahalli ; > i.maxim...@samsung.com; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring > when not in use > > Hi Gavin, > > On Fri, Jul 12, 2019 at 09:32:39AM +, Gavin Hu (Arm Technology China) > wrote: > > Hi Olivier and Thom

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Olivier Matz
> Cc: dev@dpdk.org; Olivier Matz ; nd > > ; jer...@marvell.com; hemant.agra...@nxp.com; > > nipun.gu...@nxp.com; Honnappa Nagarahalli > > ; i.maxim...@samsung.com; > > sta...@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring >

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-12 Thread Gavin Hu (Arm Technology China)
garahalli > ; i.maxim...@samsung.com; > sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring > when not in use > > 29/03/2019 15:17, Olivier Matz: > > Hi, > > > > On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote:

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-07-04 Thread Thomas Monjalon
29/03/2019 15:17, Olivier Matz: > Hi, > > On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote: > > Currently, the flush is done by dequeuing the ring in a while loop. It is > > much simpler to flush the queue by resetting the head and tail indices. > > > > Fixes: af75078fece3 ("first public

Re: [dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-03-29 Thread Olivier Matz
Hi, On Fri, Mar 15, 2019 at 11:31:25AM +0800, Gavin Hu wrote: > Currently, the flush is done by dequeuing the ring in a while loop. It is > much simpler to flush the queue by resetting the head and tail indices. > > Fixes: af75078fece3 ("first public release") > Cc: sta...@dpdk.org > > Signed-of

[dpdk-dev] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use

2019-03-14 Thread Gavin Hu
Currently, the flush is done by dequeuing the ring in a while loop. It is much simpler to flush the queue by resetting the head and tail indices. Fixes: af75078fece3 ("first public release") Cc: sta...@dpdk.org Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli