Re: [dpdk-dev] [PATCH v17 07/11] power: add PMD power management API and callback

2021-01-19 Thread Burakov, Anatoly
On 18-Jan-21 10:48 PM, Thomas Monjalon wrote: 14/01/2021 15:46, Anatoly Burakov: From: Liang Ma + Currently, this power management API is limited to mandatory mapping of 1 + queue to 1 core (multiple queues are supported, but they must be polled from + different cores). This is quite l

Re: [dpdk-dev] [PATCH v17 07/11] power: add PMD power management API and callback

2021-01-18 Thread Thomas Monjalon
14/01/2021 15:46, Anatoly Burakov: > From: Liang Ma > > + Currently, this power management API is limited to mandatory mapping of 1 > + queue to 1 core (multiple queues are supported, but they must be polled > from > + different cores). This is quite limited. Not sure librte_power is the

Re: [dpdk-dev] [PATCH v17 07/11] power: add PMD power management API and callback

2021-01-18 Thread David Hunt
Hi Anatoly, On 14/1/2021 2:46 PM, Anatoly Burakov wrote: From: Liang Ma Add a simple on/off switch that will enable saving power when no packets are arriving. It is based on counting the number of empty polls and, when the number reaches a certain threshold, entering an architecture-defined op

[dpdk-dev] [PATCH v17 07/11] power: add PMD power management API and callback

2021-01-14 Thread Anatoly Burakov
From: Liang Ma Add a simple on/off switch that will enable saving power when no packets are arriving. It is based on counting the number of empty polls and, when the number reaches a certain threshold, entering an architecture-defined optimized power state that will either wait until a TSC timest