[dpdk-dev] [PATCH v3 1/2] service: fix wrong lcore indices

Thomas Monjalon thomas at monjalon.net
Tue Jul 7 23:56:46 CEST 2020


07/07/2020 15:14, Van Haaren, Harry:
> From: Andrew Rybchenko <arybchenko at solarflare.com>
> > From: Igor Romanov <igor.romanov at oktetlabs.ru>
> > 
> > The service core list is populated, but not used. Incorrect
> > lcore states are examined for a service.
> > 
> > Use the populated list to iterate over service cores.
> > 
> > Fixes: e30d d318 47d2 ("service: add mechanism for quiescing")
> > Cc: stable at dpdk.org
> 
> I believe the original adding of quiescing did not have this exact bug (ids[] was used)?
> It seems to have been introduced when reworking to avoid false sharing, so fixes is:
> Fixes: e484ccddbe1b ("services: avoid false sharing on core state")
> 
> 
> > Signed-off-by: Igor Romanov <igor.romanov at oktetlabs.ru>
> > Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
> 
> Code change itself: 
> Acked-by: Harry van Haaren <harry.van.haaren at intel.com>

Series applied, thanks




More information about the dev mailing list