From: Robin Jarry Date: Tue, 15 Dec 2015 16:05:01 +0000 (+0100) Subject: ixgbe: restore imissed stat counter X-Git-Tag: spdx-start~7709 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=41264853e04cb7b28a47059ef0d3a15936ea1da0;p=dpdk.git ixgbe: restore imissed stat counter This counter was left unmodified. Restore it in ixgbe_dev_stats_get. The ierrors counter still includes imissed for ixgbe. This behaviour is not consistent amongst all drivers. Another patch may be needed to unify the meaning of the ierrors counter. Fixes: 5e50ad1c1b63 ("ixgbe: add specific stats") Signed-off-by: Robin Jarry Acked-by: Harry van Haaren --- diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 1b6cd8efe8..4c4c6dfb16 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -2546,6 +2546,7 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats) } /* Rx Errors */ + stats->imissed = total_missed_rx; stats->ierrors = hw_stats->crcerrs + hw_stats->mspdc + hw_stats->rlec +