[dpdk-stable] [PATCH v7 1/2] ring: add reset API to flush the ring when not in use
Olivier Matz
olivier.matz at 6wind.com
Tue Jul 16 10:47:20 CEST 2019
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: stable at dpdk.org
>
> Signed-off-by: Gavin Hu <gavin.hu at arm.com>
> Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
Acked-by: Olivier Matz <olivier.matz at 6wind.com>
More information about the stable
mailing list