ethdev: add Rx error counters for missed, badcrc and badlen packets
authorIvan Boule <ivan.boule@6wind.com>
Thu, 12 Jun 2014 21:55:41 +0000 (23:55 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 09:28:14 +0000 (11:28 +0200)
commit70bdb18657da9dc7d3a71fe9ac3522c7640fa629
tree1895fc301bb50b8fbcfadabc962eb1f426678170
parent5205954791cb96244904f2c904a75d29a9bbf31b
ethdev: add Rx error counters for missed, badcrc and badlen packets

Split input error stats to have a better understanding of why packets
have been dropped.
Keep ierrors field untouched for backward compatibility.

Signed-off-by: Ivan Boule <ivan.boule@6wind.com>
Signed-off-by: David Marchand <david.marchand@6wind.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/config.c
app/test-pmd/testpmd.c
examples/load_balancer/runtime.c
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_e1000/em_ethdev.c
lib/librte_pmd_e1000/igb_ethdev.c
lib/librte_pmd_ixgbe/ixgbe_ethdev.c