From: Harry van Haaren Date: Mon, 2 Nov 2015 10:56:09 +0000 (+0000) Subject: ixgbe: remove mac fault counts from Rx errors X-Git-Tag: spdx-start~8182 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=48dd1a82a615;p=dpdk.git ixgbe: remove mac fault counts from Rx errors 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 --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index dff0e8df18..52c2fdb213 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2477,8 +2477,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;