common/cnxk: handle ROC model init failure
authorHanumanth Pothula <hpothula@marvell.com>
Fri, 10 Jun 2022 08:14:14 +0000 (13:44 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 15 Jun 2022 17:55:42 +0000 (19:55 +0200)
commit5f27618bea73240ac4e71e9ed9bb14b25c95505d
treeac3161716d3bca640645de566d5de02a804c1512
parentbde0d30aed67e470769f21bea2f3e8d4d81aac09
common/cnxk: handle ROC model init failure

Return with error on fail to initialize ROC model.

Fixes: 014a9e222bac ("common/cnxk: add model init and IO handling API")
Cc: stable@dpdk.org
Signed-off-by: Hanumanth Pothula <hpothula@marvell.com>
drivers/common/cnxk/roc_platform.c