From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 1AF498DA2 for ; Wed, 28 Oct 2015 14:41:51 +0100 (CET) Received: by wicfv8 with SMTP id fv8so13205942wic.0 for ; Wed, 28 Oct 2015 06:41:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=xlrSul2c5heCADdAzvrh+b3inrx4MHaJykNQcwsSqMk=; b=wpZB+fCevtWWAXHs0znOCT8riJS+S/hYBiMbM0tQjmNcEuKPpFyn8TZ0k1IU0utufN Ps0UASZFLJucg6+qiOcczUWY0gciAnvtFYHr/4IxBBQLjbMbFUzp/ZMgQh1SVpnm2DrL 7lgyqjov0m+8FVlr5vEihywtjtUM8cSoqeP3xRxAz/JsNR6ZDARzp5JQpbdkVRooirTy WtecR1Vm/J1K2S/mrU+GiOWKfcLyXzn8qekwOKCZgZ+mS5gI0TdUyqw2KDMbjmmlkQBa aKeS4QA9UX4OVLGcnCrNvkTS8cVgzSkyXIB8lgPzEAaC0oQktzYdDPokY+b9yMDOGgOb /lOg== 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=xlrSul2c5heCADdAzvrh+b3inrx4MHaJykNQcwsSqMk=; b=OPkOvTClkBkFEIXhXRXIpjzfxZsQThftLoUVJAGDTVbe0ID7bXGbGOUt9jR12uA9Oo EWBd6uue9T2LDK9xDKXz7Pmd/mbXhRXfswv8RTvpRXB7eHO5dtZPUpmxO/sXsxYq2W2/ 82JuKKLzLWnsHPm/xPbjYaRVTFzTI9D2uUCdA2+SpglqmXfpwRNRl6JlpoutV7PHc3nk t89u2NTrTsZ0Hvr6XmZOrfK77f6m5wc7ffyCfukhxVD8T+ZDNcuFVwVmHSDfaRgQUAZR XJelv2kO10PcVV0qCew8Wr1f/zr5ocPyKQ3UuiIXgHeOpp9lRqDbbpburUScbuTMUWq+ NPtQ== X-Gm-Message-State: ALoCoQnr+EgyRIQKFC9tbvct3vNl4DoKEA+VY23plG1KMwP82e2dyHz+aPSVHWfMVUmDmLnLzMSK X-Received: by 10.180.216.97 with SMTP id op1mr2642684wic.51.1446039710977; Wed, 28 Oct 2015 06:41:50 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id jh4sm45501809wjb.33.2015.10.28.06.41.50 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Oct 2015 06:41:50 -0700 (PDT) From: Thomas Monjalon To: Harry van Haaren Date: Wed, 28 Oct 2015 14:40:40 +0100 Message-ID: <4393263.kXKE1hkngD@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1444668333-20191-1-git-send-email-harry.van.haaren@intel.com> References: <561BD4AE.4010704@gmail.com> <1444668333-20191-1-git-send-email-harry.van.haaren@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 0/2] fix vf statistic wraparound handling in macro 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: Wed, 28 Oct 2015 13:41:51 -0000 2015-10-12 17:45, Harry van Haaren: > The following two patches fix a misinterpretation of the cyclic > counters of igb and ixgbe VF. When the 32bit value wraps around, > the code now handles the wrapped new value appropriatly. > > v2: > - Reimplemented with Alex's suggested fix for off-by-one > > v1: > - Initial implementation > > Harry van Haaren (2): > ixgbe: fix VF statistic wraparound handling macro > igb: fix VF statistic wraparound handling macro Applied (with spacing fixes), thanks