net/atlantic: fix xstats return
authorIgor Russkikh <igor.russkikh@aquantia.com>
Tue, 12 Mar 2019 15:25:10 +0000 (15:25 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Mar 2019 17:15:42 +0000 (18:15 +0100)
commit5ab51dbfd4e7f14d0b0329cec33d5d545bd610bc
treebc82bb9d07db47ff67ffd11c0f9c7695cd1e6375
parentebf751d6a792fd0b689ba0d43fc6fb03f0696cd8
net/atlantic: fix xstats return

Max number of xstats items was returned instead of actual number
of filled in records.

Fixes: fbe059e87209 ("net/atlantic: implement device statistics")
Cc: stable@dpdk.org
Signed-off-by: Igor Russkikh <igor.russkikh@aquantia.com>
drivers/net/atlantic/atl_ethdev.c