From: Harry van Haaren Date: Tue, 20 Oct 2015 09:23:19 +0000 (+0100) Subject: ixgbe: remove jabber count from Rx errors X-Git-Tag: spdx-start~8309 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dc58e8c568487c5ef574b8bd21d7f69da8a4ada8;p=dpdk.git ixgbe: remove jabber count from Rx errors Remove receive jabber count (rjc) from ierrors count as the register overlaps with the CRC error register, previously causing some packets to be counted twice. Signed-off-by: Harry van Haaren Acked-by: Maryam Tahhan Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 8ee9f7e5d9..0346c39ce0 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2212,7 +2212,6 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) hw_stats->mlfc + hw_stats->mrfc + hw_stats->rfc + - hw_stats->rjc + hw_stats->fccrc + hw_stats->fclast;