numam-dpdk/drivers/net/i40e
Xiaoyun Li 63056c1920 net/i40e: fix statistics inconsistency
While calculating the input packet count per port, discarded packets
should be reduced, right now only PF VSI discarded packets are reduced.
But while calculating the input byte count per port, Rx byte count is
used, which should take all discarded packets into account, including
VF VSI ones.
This will cause inconsistency in stat counters in some cases.

This patch would take all VSI stats as packet and byte count to address
the issue.

Fixes: 763de290cb ("net/i40e: fix packet count for PF")
Cc: stable@dpdk.org

Signed-off-by: Xiaoyun Li <xiaoyun.li@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
2018-12-21 16:22:40 +01:00
..
base net/i40e: fix port close 2018-12-13 17:44:52 +00:00
i40e_ethdev_vf.c net/i40e: clear VF reset flags after reset 2018-12-21 16:22:40 +01:00
i40e_ethdev.c net/i40e: fix statistics inconsistency 2018-12-21 16:22:40 +01:00
i40e_ethdev.h net/i40e: fix overwriting RSS RETA 2018-12-13 16:40:25 +00:00
i40e_fdir.c net/i40e: revert fix of flow director check 2018-08-01 15:36:32 +02:00
i40e_flow.c add missing static keyword to globals 2018-10-29 02:01:08 +01:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx_vec_avx2.c net/i40e: fix rearm check in AVX2 Rx 2018-08-01 02:41:29 +02:00
i40e_rxtx_vec_common.h net/i40e: fix Rx instability with vector mode 2018-11-05 16:50:14 +01:00
i40e_rxtx_vec_neon.c net/i40e: convert to SPDX license tag 2018-05-25 12:32:00 +02:00
i40e_rxtx_vec_sse.c ethdev: separate driver APIs 2018-01-22 01:26:49 +01:00
i40e_rxtx.c net/i40e: remove redundant reset of queue number 2018-12-13 23:06:37 +01:00
i40e_rxtx.h net/i40e: check illegal packets 2018-07-03 01:35:58 +02:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_vf_representor.c add missing static keyword to globals 2018-10-29 02:01:08 +01:00
Makefile net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00
meson.build net/i40e: fix missing defines for non-AVX build 2018-05-08 22:14:07 +02:00
rte_pmd_i40e_version.map net/i40e: support input set configuration 2018-01-16 18:47:49 +01:00
rte_pmd_i40e.c net/i40e: enable loopback function for X722 MAC 2018-10-26 22:14:06 +02:00
rte_pmd_i40e.h net/i40e: add support for representor ports 2018-04-27 18:00:57 +01:00