> -----Original Message-----
> From: dev <dev-boun...@dpdk.org> On Behalf Of Harry van Haaren
> Sent: Monday, July 20, 2020 10:38 PM
> To: dev@dpdk.org
> Cc: david.march...@redhat.com; igor.roma...@oktetlabs.ru; Honnappa
> Nagarahalli <honnappa.nagaraha...@arm.com>; ferruh.yi...@intel.com; nd
> <n...@arm.com>; acon...@redhat.com;
> l.wojciec...@partner.samsung.com; Harry van Haaren
> <harry.van.haa...@intel.com>
> Subject: [dpdk-dev] [PATCH v2 1/2] service: add API to retrieve service core
> active
> 
> This commit adds a new experimental API which allows the user
> to retrieve the active state of an lcore. Knowing when the service
> lcore is completed its polling loop can be useful to applications
> to avoid race conditions when e.g. finalizing statistics.
> 
> The service thread itself now has a variable to indicate if its
> thread is active. When zero the service thread has completed its
> service, and has returned from the service_runner_func() function.
> 
> Suggested-by: Lukasz Wojciechowski <l.wojciec...@partner.samsung.com>
> Signed-off-by: Harry van Haaren <harry.van.haa...@intel.com>
> 

It looks good to me.

Reviewed-by: Phil Yang <phil.y...@arm.com>

Thanks,
Phil
<...>

Reply via email to