net/netvsc: fix xstats id
authorMohsin Mazhar Shaikh <mohsinmazhar_shaikh@trendmicro.com>
Thu, 20 Jun 2019 22:09:23 +0000 (15:09 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 28 Jun 2019 18:32:18 +0000 (20:32 +0200)
commitb21ad01a82904413485c82a08c154aeacf31fd02
tree125eb83f9cdd937395c82ea5cd32bf595cfa86f7
parent92d23a57cafe8b57d6a430d5f3e911dd551b9de2
net/netvsc: fix xstats id

The xstats_get was not setting id correctly for each entry.

Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
Cc: stable@dpdk.org
Signed-off-by: Mohsin Mazhar Shaikh <mohsinmazhar_shaikh@trendmicro.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_ethdev.c