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

David Marchand david.marchand at redhat.com
Tue Apr 21 18:17:20 CEST 2020


On Wed, Mar 25, 2020 at 1:17 AM Thinh Tran <thinhtr at linux.vnet.ibm.com> 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 <thinhtr at linux.vnet.ibm.com>

Reviewed-by: David Christensen <drc at linux.vnet.ibm.com>

Applied, thanks.

-- 
David Marchand



More information about the stable mailing list