[dpdk-dev] [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control

Thomas Monjalon thomas at monjalon.net
Fri Oct 26 01:32:22 CEST 2018


26/10/2018 01:22, Thomas Monjalon:
> Hi,
> 
> It fails to compile (tried with meson build-gcc-static):
> 
> lib/librte_power/rte_power_empty_poll.h:20:10: fatal error:
> 	rte_timer.h: No such file or directory
> 
> It looks to be fixed with this one-line change:
> 
> --- a/lib/librte_power/meson.build
> +++ b/lib/librte_power/meson.build
> @@ -8,3 +8,4 @@ sources = files('rte_power.c', 'power_acpi_cpufreq.c',
>         'power_kvm_vm.c', 'guest_channel.c',
>         'rte_power_empty_poll.c')
>  headers = files('rte_power.h','rte_power_empty_poll.h')
> +deps += ['timer']


There are also some doxygen issues:

lib/librte_power/rte_power_empty_poll.h:136: warning: Found unknown command `\freq_tlb'
lib/librte_power/rte_power_empty_poll.h:138: warning: Found unknown command `\policy'
lib/librte_power/rte_power_empty_poll.h:146: warning: The following parameters of rte_power_empty_poll_stat_init(struct ep_params **eptr, uint8_t *freq_tlb, struct ep_policy *policy) are not documented:
  parameter 'freq_tlb'
  parameter 'policy'





More information about the dev mailing list