common/cnxk: support NIX TM debug and misc utils
authorNithin Dabilpuram <ndabilpuram@marvell.com>
Tue, 6 Apr 2021 14:41:31 +0000 (20:11 +0530)
committerJerin Jacob <jerinj@marvell.com>
Fri, 9 Apr 2021 06:32:24 +0000 (08:32 +0200)
commitfcdef46b66989ed8deeacc3d7fb13d7ceac0b8b6
tree5117cfb8de3fb9f68a2973db8ced89056f6b84e3
parent464c9f919321a3294dc29fd6c5d786e3323670a9
common/cnxk: support NIX TM debug and misc utils

Add support to dump TM HW registers and hierarchy on error.
This patch also adds support for misc utils such as API to
query TM HW resource availability, resource pre-allocation
and static priority support on root node.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/roc_nix.h
drivers/common/cnxk/roc_nix_debug.c
drivers/common/cnxk/roc_nix_tm.c
drivers/common/cnxk/roc_nix_tm_ops.c
drivers/common/cnxk/roc_nix_tm_utils.c
drivers/common/cnxk/roc_utils.c
drivers/common/cnxk/version.map