On 3/24/20 5:13 PM, Thinh Tran wrote:
__ppc_get_timebase() reads and returns the current value of the Time Base Register. It's more efficient as it uses the processor’s time base facility directly the DPDK on FreeBSD currently is not supported on Powerpc64, it should be safe to include the sys/platform/ppc.h Signed-off-by: Thinh Tran <thin...@linux.vnet.ibm.com> --- .../common/include/arch/ppc_64/rte_cycles.h | 28 ++----------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h index 8f2e98642..871f9b6e4 100644 --- a/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h +++ b/lib/librte_eal/common/include/arch/ppc_64/rte_cycles.h
Patched file location has moved, now lib/librte_eal/ppc/include/* as a result of commit a1b6cda16a07, otherwise it's good to go.
Reviewed-by: David Christensen (d...@linux.vnet.ibm.com)