From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] eal: optimize timer routines Date: Fri, 05 May 2017 15:28:26 +0200 Message-ID: <4259767.OPnc3xNLhR@xps> References: <20170501191207.6480-1-jerin.jacob@caviumnetworks.com> <20170502051951.25038-1-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Jerin Jacob Return-path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 401362935 for ; Fri, 5 May 2017 15:28:28 +0200 (CEST) In-Reply-To: <20170502051951.25038-1-jerin.jacob@caviumnetworks.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 02/05/2017 07:19, Jerin Jacob: > Since DPDK has only two timer sources, > Avoid &eal_timer_source memory read and followed > by the switch case statement when > RTE_LIBEAL_USE_HPET is not defined. > > Signed-off-by: Jerin Jacob It is not a fix but it is simple and safe enough to be in 17.05-rc4. Applied, thanks