Re: [dpdk-dev] [PATCH v2 1/2] service: add mechanism for quiescing a service

2018-06-21 Thread Eads, Gage
t; G ; Gujjar, Abhinandan S > > Subject: Re: [dpdk-dev] [PATCH v2 1/2] service: add mechanism for quiescing a > service > > 14/06/2018 15:51, Gage Eads: > > --- a/lib/librte_eal/common/include/rte_service.h > > +++ b/lib/librte_eal/common/include/rte_service.h > > @@

Re: [dpdk-dev] [PATCH v2 1/2] service: add mechanism for quiescing a service

2018-06-18 Thread Thomas Monjalon
14/06/2018 15:51, Gage Eads: > --- a/lib/librte_eal/common/include/rte_service.h > +++ b/lib/librte_eal/common/include/rte_service.h > @@ -162,6 +162,22 @@ int32_t rte_service_runstate_set(uint32_t id, uint32_t > runstate); > int32_t rte_service_runstate_get(uint32_t id); > > /** > + * This fu

[dpdk-dev] [PATCH v2 1/2] service: add mechanism for quiescing a service

2018-06-14 Thread Gage Eads
Existing service functions allow us to stop a service, but doing so doesn't guarantee that the service has finished running on a service core. This commit introduces rte_service_may_be_active(), which returns whether the service may be executing on one or more lcores currently, or definitely is not