From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 9B9017F84 for ; Thu, 20 Nov 2014 14:56:47 +0100 (CET) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 20 Nov 2014 06:04:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,424,1413270000"; d="scan'208";a="640420811" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga002.jf.intel.com with ESMTP; 20 Nov 2014 06:07:00 -0800 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id sAKE6xqM008151 for ; Thu, 20 Nov 2014 14:07:00 GMT Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id sAKE6xjg011996 for ; Thu, 20 Nov 2014 14:06:59 GMT Received: (from smonroy@localhost) by sivswdev02.ir.intel.com with id sAKE6xM8011991 for dev@dpdk.org; Thu, 20 Nov 2014 14:06:59 GMT From: Sergio Gonzalez Monroy To: dev@dpdk.org Date: Thu, 20 Nov 2014 14:06:57 +0000 Message-Id: <1416492419-11957-1-git-send-email-sergio.gonzalez.monroy@intel.com> X-Mailer: git-send-email 1.8.5.4 Subject: [dpdk-dev] [PATCH 0/2] BSD timer cleanup/update X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 13:56:48 -0000 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