baseband/fpga_5gnr_fec: check HARQ input length
Add new case DESC_ERR_HARQ_INPUT_LEN to check for valid HARQ input length. Signed-off-by: Hernan Vargas <hernan.vargas@intel.com> Reviewed-by: Nicolas Chautru <nicolas.chautru@intel.com>
This commit is contained in:
parent
b3d326e438
commit
220c470843
@ -107,6 +107,7 @@ enum {
|
||||
DESC_ERR_DESC_READ_FAIL = 0x8,
|
||||
DESC_ERR_DESC_READ_TIMEOUT = 0x9,
|
||||
DESC_ERR_DESC_READ_TLP_POISONED = 0xA,
|
||||
DESC_ERR_HARQ_INPUT_LEN = 0xB,
|
||||
DESC_ERR_CB_READ_FAIL = 0xC,
|
||||
DESC_ERR_CB_READ_TIMEOUT = 0xD,
|
||||
DESC_ERR_CB_READ_TLP_POISONED = 0xE,
|
||||
|
@ -848,6 +848,9 @@ check_desc_error(uint32_t error_code) {
|
||||
case DESC_ERR_DESC_READ_TLP_POISONED:
|
||||
rte_bbdev_log(ERR, "Descriptor read TLP poisoned");
|
||||
break;
|
||||
case DESC_ERR_HARQ_INPUT_LEN:
|
||||
rte_bbdev_log(ERR, "HARQ input length is invalid");
|
||||
break;
|
||||
case DESC_ERR_CB_READ_FAIL:
|
||||
rte_bbdev_log(ERR, "Unsuccessful completion for code block");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user