net/i40e: exclude internal packet's byte count
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 1 Jun 2017 17:55:45 +0000 (13:55 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:28 +0000 (10:41 +0100)
commit0bcdc44510ef5efd7c0069cdd0161e6f446c254b
treef1f029bfb14ede1f205a0b539b95d2d1e06a4485
parentf35fec63dde13f725f6a184da85549f3f1ea1e35
net/i40e: exclude internal packet's byte count

Tx/Rx byte counts of internal managed packet should be
excluded from the total rx/tx bytes.

Fixes: 9aace75fc82e ("i40e: fix statistics")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev.h