From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH 0/2] fix vf statistic wraparound handling in macro Date: Mon, 12 Oct 2015 17:45:31 +0100 Message-ID: <1444668333-20191-1-git-send-email-harry.van.haaren@intel.com> References: <561BD4AE.4010704@gmail.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 25FCB8E6C for ; Mon, 12 Oct 2015 18:45:49 +0200 (CEST) In-Reply-To: <561BD4AE.4010704@gmail.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 drivers/net/e1000/igb_ethdev.c | 3 +-- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) -- 1.9.1