common/cnxk: support TM error type get
authorSatha Rao <skoteshwar@marvell.com>
Wed, 22 Sep 2021 06:11:45 +0000 (02:11 -0400)
committerJerin Jacob <jerinj@marvell.com>
Tue, 28 Sep 2021 10:06:39 +0000 (12:06 +0200)
commit1a362d745d202be79385d4a84af77adb8cf7fb6f
treee5ff8d62554331e509064d2c71804a871f424728
parent680078faf32095b845f59b4e19461d28d2165059
common/cnxk: support TM error type get

Different TM handlers returns various platform specific errors,
this patch introduces new API to convert these internal error
types to RTE_TM* error types.
Also updated error message API with missed TM error types.

Signed-off-by: Satha Rao <skoteshwar@marvell.com>
Acked-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
drivers/common/cnxk/cnxk_utils.c [new file with mode: 0644]
drivers/common/cnxk/cnxk_utils.h [new file with mode: 0644]
drivers/common/cnxk/meson.build
drivers/common/cnxk/roc_utils.c
drivers/common/cnxk/version.map