From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 34C2BDE0 for ; Fri, 21 Apr 2017 01:09:46 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A22F020ACD; Thu, 20 Apr 2017 19:09:45 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 20 Apr 2017 19:09:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=ixOfMOo9tACS8ru 1FiFKp/e/yc22xLjjCGvgnzE77dw=; b=ZgJ3GF8ibRxVrmAh28vqYX8R+c4TK7y R4Wk8A+aGa/5RdCibNvrDm7OTnwCeafuThuALAlk6QV6wZAoIvoohFk0kY8OmdZx E4E84w6a98iBXESle1UPVuUEpC07CSRHN3Vid1oDy+e5KUw0fEgXE82eSDJERDAJ QeLvcqQboz+o= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=ixOfMOo9tACS8ru1FiFKp/e/yc22xLjjCGvgnzE77dw=; b=acxR5n/B +AlZXoiTgWwlcMY/zqk2Ml+u4RIiYjyaYQFMTY5dn2q8s1V3DB9l2tBDCv8OxvZa kZwRdz9dOdXsQQ/NoxsOI6h02sV5wFCd5541LLB8sHaKABw4T4JtS+PSVMd/fkbI HARq3KKvtOdKPccCpFAQ/eapCj1jfW26FI2W8tr2GRr5OE33FXS5CAQ0oxtRdzyg RmrDB7df70aaUk6u/kf9U1k+GAvZPqQaeDPVGAgUQEY5CBY77wKAPJjnVq2UVA/Z jMsOeDvaCwoWJGhJtE86Z5+47r5TBeXUKzbdjvX3fxc30UEQTtsTPcGnZjQijP4C 8DvNMRrzRF7tJg== X-ME-Sender: X-Sasl-enc: 8zR/qBh9CNl5Tr/EOwqagvshGLWM4C5Wh4A49sD1/8Xx 1492729785 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 58AC624614; Thu, 20 Apr 2017 19:09:45 -0400 (EDT) From: Thomas Monjalon To: Remy Horton Cc: dev@dpdk.org Date: Fri, 21 Apr 2017 01:09:44 +0200 Message-ID: <3628610.Z5zJ0CXNQv@xps> In-Reply-To: <1492608408-12084-1-git-send-email-remy.horton@intel.com> References: <1492608408-12084-1-git-send-email-remy.horton@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v1] lib/bitratestats: fix integer roundoff X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Apr 2017 23:09:46 -0000 19/04/2017 15:26, Remy Horton: > In the absence of traffic, it is possible for the bitrate moving average > to get stuck at a non-zero value, due to the calculated delta being less > than what an integer can represent. > > Fixes: 2ad7ba9a6567 ("bitrate: add bitrate statistics library") > > Signed-off-by: Remy Horton Applied, thanks PS: please not that the title of this patch does not match the title of the fixed patch. Changed to "bitrate: fix integer roundoff"