From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 18 Nov 2015 02:48:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,312,1444719600"; d="scan'208";a="688363505" Received: from sie-lab-212-222.ir.intel.com (HELO silpixa00366884.ir.intel.com) ([10.237.212.222]) by orsmga003.jf.intel.com with ESMTP; 18 Nov 2015 02:48:23 -0800 From: Harry van Haaren To: dev@dpdk.org Date: Wed, 18 Nov 2015 10:48:06 +0000 Message-Id: <1447843689-32315-1-git-send-email-harry.van.haaren@intel.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1447670117-17723-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 Subject: [dpdk-dev] [PATCH v2 0/3] Remove CRC from byte counters 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, 18 Nov 2015 10:48:26 -0000 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