From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH v2 0/3] Remove CRC from byte counters Date: Wed, 18 Nov 2015 10:48:06 +0000 Message-ID: <1447843689-32315-1-git-send-email-harry.van.haaren@intel.com> References: <1447670117-17723-1-git-send-email-harry.van.haaren@intel.com> Cc: shemming@brocade.com To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 8EDD958C3 for ; Wed, 18 Nov 2015 11:48:25 +0100 (CET) In-Reply-To: <1447670117-17723-1-git-send-email-harry.van.haaren@intel.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" This patchset removes CRC bytes from byte statistics in the following PMDs: igb, ixgbe, i40e. This brings the reported byte statistics in-line with other NICs, providing consistency. Removing the CRC from byte counters in i40e resolves a bug, see i40e commit message for details. v2: -Done Stephen Hemmingers suggestion of ETHER_CRC_LEN replacing magic #4 -Removed fm10k patch, thanks Michael Qiu for reporting - my testpmd usage for packet sizes on fm10k was creating an offset of 4 bytes in testing. -Reworded some comments Harry van Haaren (3): e1000: remove crc size from all byte counters ixgbe: remove crc size from all byte counters i40e: fix rx/tx size mismatch, remove crc bytes drivers/net/e1000/igb_ethdev.c | 19 ++++++++++++-- drivers/net/i40e/i40e_ethdev.c | 13 ++++++++-- drivers/net/ixgbe/ixgbe_ethdev.c | 55 +++++++++++++++++++++++++++++++--------- 3 files changed, 71 insertions(+), 16 deletions(-) -- 1.9.1