From: David Christensen <drc@linux.vnet.ibm.com>
To: Thinh Tran <thinhtr@linux.vnet.ibm.com>, dev@dpdk.org, stable@dpdk.org
Cc: david.marchand@redhat.com
Subject: Re: [dpdk-dev] [PATCH v3] eal/ppc64: improve rte_rdtsc() with __ppc_get_timebase()
Date: Mon, 20 Apr 2020 09:42:48 -0700 [thread overview]
Message-ID: <97579970-b8f0-02e5-0cda-871fcf1c4897@linux.vnet.ibm.com> (raw)
In-Reply-To: <20200325001356.147049-1-thinhtr@linux.vnet.ibm.com>
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 <thinhtr@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 (drc@linux.vnet.ibm.com)
next prev parent reply other threads:[~2020-04-20 16:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-25 0:13 Thinh Tran
2020-04-16 22:35 ` Thomas Monjalon
2020-04-20 16:42 ` David Christensen [this message]
2020-04-21 16:17 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97579970-b8f0-02e5-0cda-871fcf1c4897@linux.vnet.ibm.com \
--to=drc@linux.vnet.ibm.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=thinhtr@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).