timer: honor arch-specific TSC frequency query
authorJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 22 Sep 2017 08:25:37 +0000 (13:55 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Oct 2017 11:07:17 +0000 (13:07 +0200)
commit3dbc565e81a06021966b8c08b1e1a45d462ad7fc
treecce0f4757a52a1e475686d71abc79c0fbaa6ba2e
parent3486534628cd963d893c0978efb392c5e8a2d3c3
timer: honor arch-specific TSC frequency query

When calibrating the TSC frequency, first, probe the architecture specific
function. If not available, use the existing calibrate scheme.

Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Tested-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/common/arch/arm/rte_cycles.c [new file with mode: 0644]
lib/librte_eal/common/arch/ppc_64/rte_cycles.c [new file with mode: 0644]
lib/librte_eal/common/arch/x86/rte_cycles.c [new file with mode: 0644]
lib/librte_eal/common/eal_common_timer.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/linuxapp/eal/Makefile