common/cnxk: support NIX stats
authorJerin Jacob <jerinj@marvell.com>
Tue, 6 Apr 2021 14:41:18 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commit218d022e1f3f4b5b54ebe7c02c51fb1b495e4398
treea610366b04975fe9634f38737328cffd0cd50526
parentc443e0d326e1047d192c4fbe881a05108220d848
common/cnxk: support NIX stats

Add API to provide Rx and Tx stats for a given NIX.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_stats.c [new file with mode: 0644]
drivers/common/cnxk/version.map