From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergio Gonzalez Monroy Subject: [PATCH 0/2] BSD timer cleanup/update Date: Thu, 20 Nov 2014 14:06:57 +0000 Message-ID: <1416492419-11957-1-git-send-email-sergio.gonzalez.monroy@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "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