net/i40e: fix statistics
authorChenmin Sun <chenmin.sun@intel.com>
Wed, 23 Jan 2019 13:30:03 +0000 (21:30 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 24 Jan 2019 17:18:10 +0000 (18:18 +0100)
commit866000d94939c44c5e8cbc8d1624300dae16c21a
treea306686ddac1f95868cc0faf588a594f75763019
parent71ab2d64723c8b7192eea01877012de7aa5c2476
net/i40e: fix statistics

1. Fix the lldp stop condition check - for firmware
versions 6.01(for X710)/3.33(for X722) or later we need stop the lldp
2. deferred stats reset in dev_init to avoid some noise be counted.
3. Document known issue for tx bytes decreasing due to link status change

Fixes: 044846f071cc ("net/i40e: stop LLDP before setting local LLDP MIB")
Cc: stable@dpdk.org
Signed-off-by: Chenmin Sun <chenmin.sun@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
doc/guides/nics/i40e.rst
drivers/net/i40e/i40e_ethdev.c