Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-29 Thread Burakov, Anatoly
On 29-Jun-21 1:14 PM, Ananyev, Konstantin wrote: -Original Message- From: Burakov, Anatoly Sent: Tuesday, June 29, 2021 12:40 PM To: Ananyev, Konstantin ; dev@dpdk.org; Hunt, David Cc: Loftus, Ciara Subject: Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx

Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-29 Thread Ananyev, Konstantin
> -Original Message- > From: Burakov, Anatoly > Sent: Tuesday, June 29, 2021 12:40 PM > To: Ananyev, Konstantin ; dev@dpdk.org; Hunt, > David > Cc: Loftus, Ciara > Subject: Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx > queues &

Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-29 Thread Burakov, Anatoly
On 29-Jun-21 1:07 AM, Ananyev, Konstantin wrote: Use the new multi-monitor intrinsic to allow monitoring multiple ethdev Rx queues while entering the energy efficient power state. The multi version will be used unconditionally if supported, and the UMWAIT one will only be used when multi-monit

Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-29 Thread Burakov, Anatoly
On 29-Jun-21 1:07 AM, Ananyev, Konstantin wrote: +static uint16_t +clb_multiwait(uint16_t port_id, uint16_t qidx, + struct rte_mbuf **pkts __rte_unused, uint16_t nb_rx, + uint16_t max_pkts __rte_unused, void *addr __rte_unused) +{ + const unsigned int lcore = rte_lcor

Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-28 Thread Ananyev, Konstantin
> >> Use the new multi-monitor intrinsic to allow monitoring multiple ethdev > >> Rx queues while entering the energy efficient power state. The multi > >> version will be used unconditionally if supported, and the UMWAIT one > >> will only be used when multi-monitor is not supported by the hardw

Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-28 Thread Burakov, Anatoly
On 28-Jun-21 2:29 PM, Ananyev, Konstantin wrote: Use the new multi-monitor intrinsic to allow monitoring multiple ethdev Rx queues while entering the energy efficient power state. The multi version will be used unconditionally if supported, and the UMWAIT one will only be used when multi-monit

Re: [dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-28 Thread Ananyev, Konstantin
> Use the new multi-monitor intrinsic to allow monitoring multiple ethdev > Rx queues while entering the energy efficient power state. The multi > version will be used unconditionally if supported, and the UMWAIT one > will only be used when multi-monitor is not supported by the hardware. > > S

[dpdk-dev] [PATCH v3 6/7] power: support monitoring multiple Rx queues

2021-06-28 Thread Anatoly Burakov
Use the new multi-monitor intrinsic to allow monitoring multiple ethdev Rx queues while entering the energy efficient power state. The multi version will be used unconditionally if supported, and the UMWAIT one will only be used when multi-monitor is not supported by the hardware. Signed-off-by: A