From: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH 0/2] BSD timer cleanup/update
Date: Thu, 20 Nov 2014 14:06:57 +0000 [thread overview]
Message-ID: <1416492419-11957-1-git-send-email-sergio.gonzalez.monroy@intel.com> (raw)
This patch set is a quick cleanup/update of the timer in BSD.
Since BSD exposes TSC freq in sysctl, we avoid other less accurate methods.
We still provide a fallback in case we fail to obtain the value, as it is
x86 specific.
The HPET device is not expose in BSD, therefore current code does not work
and we remove it altogether.
Sergio Gonzalez Monroy (2):
eal: use sysctl in BSD to set TSC freq
eal: BSD timer cleanup - remove HPET support
lib/librte_eal/bsdapp/eal/eal_timer.c | 225 +++++-----------------------------
1 file changed, 30 insertions(+), 195 deletions(-)
--
2.1.0
next reply other threads:[~2014-11-20 13:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 14:06 Sergio Gonzalez Monroy [this message]
2014-11-20 14:06 ` [dpdk-dev] [PATCH 1/2] eal: use sysctl in BSD to set TSC freq Sergio Gonzalez Monroy
2014-11-20 14:06 ` [dpdk-dev] [PATCH 2/2] eal: Remove unused HPET support from FreeBSD Sergio Gonzalez Monroy
2014-11-27 11:57 ` [dpdk-dev] [PATCH 0/2] BSD timer cleanup/update Thomas Monjalon
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=1416492419-11957-1-git-send-email-sergio.gonzalez.monroy@intel.com \
--to=sergio.gonzalez.monroy@intel.com \
--cc=dev@dpdk.org \
/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).