From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by dpdk.org (Postfix) with ESMTP id DF1437E6A for ; Mon, 27 Jul 2015 14:42:38 +0200 (CEST) Received: by wibud3 with SMTP id ud3so138354745wib.1 for ; Mon, 27 Jul 2015 05:42:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=foCCZHxpQFQgK/cgERmJd59S5tqAoDWGN4iuWJ/dhsU=; b=k23WthVXrdbDpgZxgxR7nJMmDdvcfe5iH8yAzIYG3iUNc96lwkXdR/fwGc0TdRWa4M hRBRwGJ6GX9ZtfhGCT5yQMy407RtgNcouCtAJS1AzdQ9u/oC5rziww2O7fvyyspw4mSK 68QWAeFQADJyr2YQYlmdLzD12vpkMR2Dp/P1Rm4WdLLT9ngxQ92QQuiKP8T2c8l1dBVU Y/csp9K/eDY8O40QXsCEYwf//l7/dh1iMyBeifNvFd9CJorkn23qlesmlBrO/Ncb04ac yNafXebAyC3F3rEdBL5KcRCn1KZP//HJ/ZY9bVFbCytc90J6UkwottteH37nMfRl/TkR XOig== X-Gm-Message-State: ALoCoQn//O1F+tOXXg0LezPNGoWjYmBv6/PRE0fnpR9aZi9E2W6Iu5i4lIvDKTl0zuYWaGtRHHTb X-Received: by 10.194.118.227 with SMTP id kp3mr55983752wjb.97.1438000958530; Mon, 27 Jul 2015 05:42:38 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id l13sm27746751wjr.18.2015.07.27.05.42.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2015 05:42:37 -0700 (PDT) From: Thomas Monjalon To: Sergio Gonzalez Monroy Date: Mon, 27 Jul 2015 14:41:22 +0200 Message-ID: <2586046.X6ybzJAoRe@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1437999475-32438-1-git-send-email-sergio.gonzalez.monroy@intel.com> References: <1437999475-32438-1-git-send-email-sergio.gonzalez.monroy@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix set_tsc_freq 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: Mon, 27 Jul 2015 12:42:39 -0000 2015-07-27 13:17, Sergio Gonzalez Monroy: > Fix error where TSC freq is 0. > > The logical OR operator evaluates to 1 if any of its operands is > different than 0. > > Error showed later while initializing PMD: > EAL: TSC frequency is ~0 KHz > > PMD: eth_ixgbe_dev_init(): Hardware Initialization Failure: -30 > EAL: Error - exiting with code: 1 > Cause: Requested device 0000:84:00.0 cannot be used > > Fixes: 040cf8a41187 ("eal: deduplicate timer functions") > > Signed-off-by: Sergio Gonzalez Monroy Applied, thanks for the quick test and fix, and sorry for the trivial error.