From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <harry.van.haaren@intel.com>
Received: from mga11.intel.com (mga11.intel.com [192.55.52.93])
 by dpdk.org (Postfix) with ESMTP id 628AB8E8A
 for <dev@dpdk.org>; Mon, 12 Oct 2015 15:33:49 +0200 (CEST)
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by fmsmga102.fm.intel.com with ESMTP; 12 Oct 2015 06:33:48 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.17,672,1437462000"; d="scan'208";a="824944237"
Received: from sie-lab-212-222.ir.intel.com (HELO
 silpixa00366884.ir.intel.com) ([10.237.212.222])
 by fmsmga002.fm.intel.com with ESMTP; 12 Oct 2015 06:33:46 -0700
From: Harry van Haaren <harry.van.haaren@intel.com>
To: dev@dpdk.org
Date: Mon, 12 Oct 2015 14:33:41 +0100
Message-Id: <1444656823-717-1-git-send-email-harry.van.haaren@intel.com>
X-Mailer: git-send-email 1.9.1
Subject: [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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Oct 2015 13:33:49 -0000

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.

Harry van Haaren (2):
  ixgbe: fix VF statistic wraparound handling macro
  igb: fix VF statistic wraparound handling macro

 drivers/net/e1000/igb_ethdev.c   | 6 +++++-
 drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

-- 
1.9.1