[dpdk-dev] [PATCH 0/2] BSD timer cleanup/update

Sergio Gonzalez Monroy sergio.gonzalez.monroy at intel.com
Thu Nov 20 15:06:57 CET 2014


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



More information about the dev mailing list