[PATCH] examples/l3fwd-power: fix to configure the uncore env

Kelly, Karen karen.kelly at intel.com
Fri Oct 27 14:36:01 CEST 2023


On 26/10/2023 16:19, Sivaprasad Tummala wrote:
> Updated the l3fwd-power app to configure the uncore env before invoking
> any uncore APIs. With auto-detection in 'rte_power_uncore_init()' it is
> too late because other APIs already called.
>
> Bugzilla ID: 1304
> Fixes: ac1edcb6621a ("power: refactor uncore power management API")
> Cc:karen.kelly at intel.com
>
> Signed-off-by: Sivaprasad Tummala<sivaprasad.tummala at amd.com>
> ---
>   examples/l3fwd-power/main.c  | 6 ++++++
>   lib/power/rte_power_uncore.c | 7 +++++++
>   lib/power/rte_power_uncore.h | 9 +++++----
>   3 files changed, 18 insertions(+), 4 deletions(-)
Ran on my system, bug is resolved after applying this patch.

Tested-by: Karen Kelly <karen.kelly at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20231027/1cb50739/attachment.htm>


More information about the dev mailing list