numam-dpdk/drivers/net/ixgbe
Maryam Tahhan 3c47efd90d ixgbe: fix Rx error stats
Bug fix to remove (rxnfgpc - hw_stats->gprc) which does not account
for phy errors.
hw_stats->gprc is the Number of good (non-erred) Rx packets (from the
network) that pass L2 filtering and has a legal length as defined by
LongPacketEnable. While rxnfgpc is the Number of good (non-erred with
legal length) Rx packets (from the network) regardless of packet
filtering and receive enablement. Thus hw_stats->gprc can be > rxnfgpc
and this calculation should be removed from the calculation of ierrors.
Validated with testpmd by sending packets to the interface without
forwarding enabled - packets should be dropped and the error counters
incremented.

Fixes: f6bf669b99 ("ixgbe: account more Rx errors")

Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
Acked-by: Balazs Nemeth <balazs.nemeth@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Tested-by: Marvin Liu <yong.liu@intel.com>
2015-07-23 14:55:25 +02:00
..
base ixgbe/base: optimize link up time 2015-06-26 12:59:05 +02:00
ixgbe_82599_bypass.c ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00
ixgbe_bypass_api.h ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00
ixgbe_bypass_defines.h ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00
ixgbe_bypass.c ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00
ixgbe_bypass.h ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00
ixgbe_ethdev.c ixgbe: fix Rx error stats 2015-07-23 14:55:25 +02:00
ixgbe_ethdev.h ixgbe: free queue memory when closing 2015-07-19 21:22:14 +02:00
ixgbe_fdir.c ixgbe: fix flow director flexbytes offset 2015-06-22 11:56:24 +02:00
ixgbe_logs.h ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00
ixgbe_pf.c ixgbe: support port hotplug 2015-07-19 21:22:14 +02:00
ixgbe_regs.h ixgbe: add access to specific device info 2015-07-17 00:00:48 +02:00
ixgbe_rxtx_vec.c mbuf: redefine packet type 2015-07-16 00:57:04 +02:00
ixgbe_rxtx.c ixgbe: fix build with bulk alloc disabled 2015-07-22 11:56:54 +02:00
ixgbe_rxtx.h ethdev: fix check of threshold for Tx freeing 2015-07-07 16:31:48 +02:00
Makefile mem: move librte_malloc to eal/common 2015-07-16 13:44:48 +02:00
rte_pmd_ixgbe_version.map ixgbe: move to drivers/net/ 2015-05-22 16:06:22 +02:00