numam-dpdk/drivers
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
..
baseband bb/turbo_sw: update for FlexRAN 18.09 2018-12-19 11:19:10 +01:00
bus vfio: support 64KB kernel page size 2018-12-20 00:12:20 +01:00
common compress/qat: fix dequeue error counter 2018-12-19 11:19:10 +01:00
compress compress/qat: fix dequeue error counter 2018-12-19 11:19:10 +01:00
crypto crypto/qat: fix message for NULL algo setting unused counter 2018-12-19 11:19:10 +01:00
event fix global variable issues 2018-10-29 02:34:27 +01:00
mempool add missing static keyword to globals 2018-10-29 02:01:08 +01:00
net net/i40e: fix statistics inconsistency 2018-12-21 16:22:40 +01:00
raw drivers: prefix global variables with module name 2018-10-29 02:34:21 +01:00
Makefile drivers: add common as dependency for bus 2018-10-16 14:54:25 +02:00
meson.build build: change default driver installation directory 2018-10-27 23:22:12 +02:00