[dpdk-dev] [PATCH v8 1/7] power_intrinsics: use callbacks for comparison

2021-07-08 Thread Anatoly Burakov
Previously, the semantics of power monitor were such that we were checking current value against the expected value, and if they matched, then the sleep was aborted. This is somewhat inflexible, because it only allowed us to check for a specific value in a specific way. This commit replaces the co

Re: [dpdk-dev] [PATCH v8 1/7] power_intrinsics: use callbacks for comparison

2021-07-08 Thread McDaniel, Timothy
> -Original Message- > From: Burakov, Anatoly > Sent: Thursday, July 8, 2021 9:14 AM > To: dev@dpdk.org; McDaniel, Timothy ; Xing, > Beilei ; Wu, Jingjing ; Yang, > Qiming ; Zhang, Qi Z ; Wang, > Haiyue ; Matan Azrad ; Shahaf > Shuler ; Viacheslav Ovsiienko ; > Richardson, Bruce ; Anany

Re: [dpdk-dev] [PATCH v8 1/7] power_intrinsics: use callbacks for comparison

2021-07-09 Thread Thomas Monjalon
08/07/2021 16:13, Anatoly Burakov: > doc/guides/rel_notes/release_21_08.rst| 2 ++ > drivers/event/dlb2/dlb2.c | 17 -- > drivers/net/i40e/i40e_rxtx.c | 20 +++ > drivers/net/iavf/iavf_rxtx.c | 20 +++ > drivers

Re: [dpdk-dev] [PATCH v8 1/7] power_intrinsics: use callbacks for comparison

2021-07-09 Thread Burakov, Anatoly
On 09-Jul-21 2:46 PM, Thomas Monjalon wrote: 08/07/2021 16:13, Anatoly Burakov: doc/guides/rel_notes/release_21_08.rst| 2 ++ drivers/event/dlb2/dlb2.c | 17 -- drivers/net/i40e/i40e_rxtx.c | 20 +++ drivers/net/iavf/iavf_rxtx.c