[dpdk-dev] [PATCH v3 5/6] Move common functions in eal_timer.c
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Jan 5 22:09:23 CET 2015
2014-12-30 11:37, Ravi Kerur:
> Use common function name set_tsc_freq_from_sysctl for BSD and Linux.
[...]
> +/**
> + * This function sets TSC frequency from sysctl
> + * for BSD and from clock for Linux.
> + *
> + * This function is private to the EAL.
> + */
> +int set_tsc_freq_from_sysctl(void);
[...]
> -static int
> -set_tsc_freq_from_clock(void)
> +int
> +set_tsc_freq_from_sysctl(void)
NACK
It doesn't seem reasonnable to call a function set_tsc_freq_from_sysctl()
if it doesn't use sysctl.
--
Thomas
More information about the dev
mailing list