[dpdk-dev] [PATCH v2 11/16] examples/l3fwd-power: enable use of new telemetry

Pattan, Reshma reshma.pattan at intel.com
Fri Apr 10 10:42:08 CEST 2020



> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> ---
> -
> +#define NUM_TELSTATS RTE_DIM(telstats_strings)
> 
> +
> +static void
> +update_telemetry(__attribute__((unused)) struct rte_timer *tim,
> +		__attribute__((unused)) void *arg)
> +	uint64_t values[3] = {0};

Use NUM_TELSTATS, in place of 3.

> +	uint64_t values[3] = {0};
Use NUM_TELSTATS, in place of 3.

Thanks,
Reshma


More information about the dev mailing list