[dpdk-dev] [PATCH v3] eal/ppc64: improve rte_rdtsc() with __ppc_get_timebase()

2020-03-24 Thread Thinh Tran
__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

Re: [dpdk-dev] [PATCH v3] eal/ppc64: improve rte_rdtsc() with __ppc_get_timebase()

2020-04-20 Thread David Christensen
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

Re: [dpdk-dev] [PATCH v3] eal/ppc64: improve rte_rdtsc() with __ppc_get_timebase()

2020-04-21 Thread David Marchand
On Wed, Mar 25, 2020 at 1:17 AM 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 shoul

Re: [dpdk-dev] [PATCH v3] eal/ppc64: improve rte_rdtsc() with __ppc_get_timebase()

2020-04-16 Thread Thomas Monjalon
Any review please? 25/03/2020 01:13, Thinh Tran: > __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 sho