ixgbe: add MAC short packet discard count to Rx errors
This patch adds the mspdc (MAC Short Packet Discard Count) to the total rx errors, as discussed on the dev@dpdk mailing list: http://comments.gmane.org/gmane.comp.networking.dpdk.devel/23717 Suggested-by: Igor Ryzhov <iryzhov@arccn.ru> Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com> Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
This commit is contained in:
parent
dc58e8c568
commit
e81a315e5d
@ -2202,6 +2202,7 @@ ixgbe_dev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats)
|
||||
|
||||
/* Rx Errors */
|
||||
stats->ierrors = hw_stats->crcerrs +
|
||||
hw_stats->mspdc +
|
||||
hw_stats->rlec +
|
||||
hw_stats->ruc +
|
||||
hw_stats->roc +
|
||||
|
Loading…
Reference in New Issue
Block a user