net/i40e: fix VF statistics
authorQi Zhang <qi.z.zhang@intel.com>
Mon, 5 Jun 2017 21:14:20 +0000 (17:14 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:28 +0000 (10:41 +0100)
commit98abce237ba75e06e30f92bf361bc0de22098cb4
tree67f875f6c1a9856bc537f7ef23a9bee6e6e7c870
parent37c11ed57dac7ad2e01822a3baea4bc324272421
net/i40e: fix VF statistics

CRC bytes should be excluded, so rx/tx bytes of VF stats is aligned
with PF stats.

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