DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/2] BSD timer cleanup/update
@ 2014-11-20 14:06 Sergio Gonzalez Monroy
  2014-11-20 14:06 ` [dpdk-dev] [PATCH 1/2] eal: use sysctl in BSD to set TSC freq Sergio Gonzalez Monroy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sergio Gonzalez Monroy @ 2014-11-20 14:06 UTC (permalink / raw)
  To: dev

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-27 11:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 14:06 [dpdk-dev] [PATCH 0/2] BSD timer cleanup/update Sergio Gonzalez Monroy
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

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).