X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fcommon%2Fcnxk%2Froc_utils.c;h=542252fe4cc51cdacb1ca1a18ffc2b707f5a6cc3;hb=56175f74eaa565cdfde931d83be1db9faaa81667;hp=986be3fb4d9d0ac9e1c5c75efdeed2e5f9ce6477;hpb=fcdef46b66989ed8deeacc3d7fb13d7ceac0b8b6;p=dpdk.git diff --git a/drivers/common/cnxk/roc_utils.c b/drivers/common/cnxk/roc_utils.c index 986be3fb4d..542252fe4c 100644 --- a/drivers/common/cnxk/roc_utils.c +++ b/drivers/common/cnxk/roc_utils.c @@ -14,16 +14,21 @@ roc_error_msg_get(int errorcode) case NIX_AF_ERR_PARAM: case NIX_ERR_PARAM: case NPA_ERR_PARAM: + case NPC_ERR_PARAM: + case SSO_ERR_PARAM: case UTIL_ERR_PARAM: err_msg = "Invalid parameter"; break; case NIX_ERR_NO_MEM: + case NPC_ERR_NO_MEM: err_msg = "Out of memory"; break; case NIX_ERR_INVALID_RANGE: + case NPC_ERR_INVALID_RANGE: err_msg = "Range is not supported"; break; case NIX_ERR_INTERNAL: + case NPC_ERR_INTERNAL: err_msg = "Internal error"; break; case NIX_ERR_OP_NOTSUP: @@ -104,6 +109,27 @@ roc_error_msg_get(int errorcode) case NIX_ERR_NDC_SYNC: err_msg = "NDC Sync failed"; break; + case NPC_ERR_INVALID_SPEC: + err_msg = "NPC invalid spec"; + break; + case NPC_ERR_INVALID_MASK: + err_msg = "NPC invalid mask"; + break; + case NPC_ERR_INVALID_KEX: + err_msg = "NPC invalid key"; + break; + case NPC_ERR_INVALID_SIZE: + err_msg = "NPC invalid key size"; + break; + case NPC_ERR_ACTION_NOTSUP: + err_msg = "NPC action not supported"; + break; + case NPC_ERR_PATTERN_NOTSUP: + err_msg = "NPC pattern not supported"; + break; + case NPC_ERR_MCAM_ALLOC: + err_msg = "MCAM entry alloc failed"; + break; case NPA_ERR_ALLOC: err_msg = "NPA alloc failed"; break;