On Tue, Jul 16, 2019 at 11:01:21AM +0200, Olivier Matz wrote: > On Fri, Jul 12, 2019 at 11:54:36PM +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
Actually it's not a fix, it adds a new API. Is the patch in hash library intended to be backported? If yes, as it seems to be a performance optimization, you'll need to describe what scenario you're fixing and what is the performance gain. If no, the Cc stable can be removed. Thanks > > > > Signed-off-by: Gavin Hu <gavin...@arm.com> > > Reviewed-by: Ruifeng Wang <ruifeng.w...@arm.com> > > Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> > > Acked-by: Olivier Matz <olivier.m...@6wind.com>