common/cnxk: add CPT diagnostics
authorAakash Sasidharan <asasidharan@marvell.com>
Fri, 25 Jun 2021 05:36:39 +0000 (11:06 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 7 Jul 2021 19:15:08 +0000 (21:15 +0200)
commitb1a22e5d4f73fd82c359063666488b658eb031ea
tree03d57245705ed51ff13207d314ee3e3ff26d213c
parented135040f0abe9d5665c77e97df7811365c8764e
common/cnxk: add CPT diagnostics

Add routines to fetch and dump CPT statistics and states.

Signed-off-by: Aakash Sasidharan <asasidharan@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_cpt.c
drivers/common/cnxk/roc_cpt.h
drivers/common/cnxk/roc_cpt_debug.c [new file with mode: 0644]
drivers/common/cnxk/version.map