[dpdk-dev] [PATCH v3] examples/l3fwd-power: add telemetry mode support

Thomas Monjalon thomas at monjalon.net
Mon Jun 24 17:16:45 CEST 2019


13/06/2019 15:44, Reshma Pattan:
> Add new telemetry mode support for l3fwd-power.
> This is a standalone mode, in this mode l3fwd-power
> does simple l3fwding along with calculating
> empty polls, full polls, and busy percentage for
> each forwarding core. The aggregation of these
> values of all cores is reported as application
> level telemetry to metric library for every 500ms from the
> master core.
> 
> The busy percentage is calculated by recording the poll_count
> and when the count reaches a defined value the total
> cycles it took is measured and compared with minimum and maximum
> reference cycles and busy rate is set according to either 0% or
> 50% or 100%.
> 
> Signed-off-by: Reshma Pattan <reshma.pattan at intel.com>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> v3: Update commit message.
> Update guide l3_forward_power_man.rst.
> Update code to not allow master core in --conf(port,queue,lcore) option for telemetry mode.
> 
> v2:Increased telemetry timer value.
> Corrected typos.
> Fixed if condition to avoid extra indentation.
> Added metrics dependency to meson build file.
> ---

Shared library linking is failing:
	undefined reference to symbol 'round@@GLIBC_2.2.5'





More information about the dev mailing list