[PATCH] examples/l3fwd-power: fix to configure the uncore env
Thomas Monjalon
thomas at monjalon.net
Thu Nov 23 02:58:58 CET 2023
26/10/2023 17:19, Sivaprasad Tummala:
> 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.
You are also updating the uncore API.
> + if (env == RTE_UNCORE_PM_ENV_AUTO_DETECT)
> + /* Currently only intel_uncore is supported. This will be
> + * extended with auto-detection support for multiple uncore
> + * implementations.
> + */
> + env = RTE_UNCORE_PM_ENV_INTEL_UNCORE;
It looks like this patch does not make sense without AMD support.
More information about the dev
mailing list