18/05/2021 22:42, David Christensen: > On 5/16/21 5:46 PM, Piotr Kubaj wrote: > > __ppc_get_timebase() is only present when glibc is used. > > > > Signed-off-by: Piotr Kubaj <pku...@freebsd.org> > > --- > > lib/eal/ppc/include/rte_altivec.h | 3 +++ > > lib/eal/ppc/include/rte_cycles.h | 12 ++++++++++++ > > lib/eal/ppc/rte_cycles.c | 16 ++++++++++++++++ > > 3 files changed, 31 insertions(+) > > Reviewed-by: David Christensen <d...@linux.vnet.ibm.com>
This patch does a lot more than what is described. It seems adding support for FreeBSD. For testing OS, please use #ifdef RTE_EXEC_ENV_*