From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH] ixgbe: remove mac fault counts from rx errors Date: Mon, 2 Nov 2015 10:56:09 +0000 Message-ID: <1446461769-15398-1-git-send-email-harry.van.haaren@intel.com> To: dev@dpdk.org Return-path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id AC1088E81 for ; Mon, 2 Nov 2015 11:56:29 +0100 (CET) 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 patch removes the mac local fault count and mac remote fault count from rx errors. The mac fault count registers count faults, not packets, and hence should not be added to packet counters. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 4373661..395fa7a 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2214,8 +2214,6 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) hw_stats->illerrc + hw_stats->errbc + hw_stats->xec + - hw_stats->mlfc + - hw_stats->mrfc + hw_stats->rfc + hw_stats->fccrc + hw_stats->fclast; -- 1.9.1