net/i40e: fix xstats value mapping
authorRemy Horton <remy.horton@intel.com>
Mon, 14 Nov 2016 06:14:48 +0000 (14:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:24:51 +0000 (19:24 +0100)
commit1ef3b073f7a56d7885dc85b58d39abbcd585d5e8
treee1233f85d74aab5aa7c4c9af1add0ba83861b11a
parente754c959fca3f15263920789cf69148b9edd646e
net/i40e: fix xstats value mapping

The offsets used in rte_i40evf_stats_strings for transmission
statistics were wrong, returning the total byte count rather than
the respective (unicast, multicast, broadcast, drop, & error)
packet counts.

Fixes: da61cd084976 ("i40evf: add extended stats")

Signed-off-by: Remy Horton <remy.horton@intel.com>
Acked-by: Kevin Traynor <ktraynor@redhat.com>
drivers/net/i40e/i40e_ethdev_vf.c