Re: [dpdk-dev] [PATCH 1/2] service: add component useful work attribute

2020-09-14 Thread Van Haaren, Harry
> -Original Message- > From: David Marchand > Sent: Monday, September 14, 2020 9:37 AM > To: Van Haaren, Harry > Cc: dev > Subject: Re: [dpdk-dev] [PATCH 1/2] service: add component useful work > attribute > > On Mon, Sep 7, 2020 at 6:20 PM Harry van Haaren

Re: [dpdk-dev] [PATCH 1/2] service: add component useful work attribute

2020-09-14 Thread David Marchand
On Mon, Sep 7, 2020 at 6:20 PM Harry van Haaren wrote: > diff --git a/lib/librte_eal/include/rte_service_component.h > b/lib/librte_eal/include/rte_service_component.h > index 9e66ee7e29..2caa7981b5 100644 > --- a/lib/librte_eal/include/rte_service_component.h > +++ b/lib/librte_eal/include/rte_s

[dpdk-dev] [PATCH 1/2] service: add component useful work attribute

2020-09-07 Thread Harry van Haaren
This commit adds a new attribute which allows the service to indicate if the previous iteration of work was "useful". Useful work here implies forward progress was made. Exposing this information via an attribute to the application allows tracking of CPU cycles as being useful or not-useful, and a