]> git.droids-corp.org - dpdk.git/commit
net/cnxk: fix extended statistics
authorRakesh Kudurumalla <rkudurumalla@marvell.com>
Fri, 1 Jul 2022 12:51:10 +0000 (18:21 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 4 Jul 2022 12:47:03 +0000 (14:47 +0200)
commitf1207728111b4446e1f11e79492597cb6d436ee6
treec2232a37b7c91b6602efc19d21b3f1a1c80631ea
parente47565a78e2ed10499aa27792e31cdde678e8a21
net/cnxk: fix extended statistics

This fix replaces the usage of roc_nix_num_xstats_get() which is compile
time RoC API with runtime RoC  roc_nix_xstats_names_get() API resolving
xstat count difference for cn9k and cn10k while displaying xstats
for ethdev ports

Fixes: 825bd1d9d8e6 ("common/cnxk: update extra stats for inline device")
Cc: stable@dpdk.org
Signed-off-by: Rakesh Kudurumalla <rkudurumalla@marvell.com>
drivers/net/cnxk/cnxk_stats.c