eCPRI Intel® FPGA IP User Guide

ID 683685
Date 12/01/2024
Public
Document Table of Contents

4.2.9. Error Handling

Table 28.  Error Condition Behavior
Events Hardware Logging Mitigations
Invalid measurement ID received on eCPRI message type 5. Log last error measurement ID and action type in eCPRI RX error message register. None
Timeout no response for eCPRI message type 5. Log pending measurement ID and action type in eCPRI RX error message register. None
Timeout no end of concatenation message received. eCPRI TX error message register. Convert last message to C=0 and send out the messages.
Invalid eCPRI message types. The invalid message types are 8 to 63.

When you enable Pair with ORAN parameter, the IP only supports message type 0, 2 and 5. All other message types are invalid.

Log last error message type in eCPRI TX error message register eCPRI message drop.
Invalid message type 5 action types. eCPRI RX error message register None
Multiple message concatenation size is greater than MTU. eCPRI TX error message register. Split the messages into 2 or more PDU and send out the messages.
Single message concatenation size is greater than MTU. eCPRI RX error message register. eCPRI message drop.
Timeout no reset access response. eCPRI RX error message register. None
Timeout no memory access response Log last memory access ID and op code in eCPRI RX error message register. None
Missing SOP eCPRI TX/RX error message register. Incoming data drop.
Missing EOP eCPRI TX/RX error message register. Incoming data drop.

When the Ethernet frame size set to 9000 bytes, there is no message drop but the eCPRI IP sets Avalon® streaming interface source error.

Buffer overflow eCPRI TX/RX error message register. None
M20K ECC eCPRI TX/RX error message register. None
RX eCPRI payload length not match payload size. eCPRI RX error message register eCPRI error asserted only on the last packet of the concatenated packet and Avalon® streaming interface error asserted at EOP. That means earlier packet(s) have integrity issues.
RX eCPRI invalid concatenation bit. eCPRI Rx Error Message Register eCPRI error asserted only on the last packet of the concatenated packet and Avalon® streaming interface error asserted at EOP. That means earlier packet(s) have integrity issues.
TX Avalon® streaming interface does not follow the requirement.

The eCPRI IP performs this check only in streaming mode.

User Avalon® streaming interface error register eCPRI IP asserts mac_source_error at EOP.
TX Avalon® streaming interface packet size does not match with the user supply packet size

The eCPRI IP performs this check only in streaming mode.

Invalid eCPRI sink packet size register eCPRI IP asserts mac_source_error at EOP.
Receiving an error packet from the MAC for message type 5 RX message 5 error register Incoming packets drop.
The eCPRI IP behaves as follows upon observing timeout error due to multiple no memory access responses in receiver:
  • When first request timeout due to no response, first timeout counter stops counting and error interrupt triggered.
  • Second request timeout due to no response happen, second timeout counter stops counting as well. Now there are two errors pending in IP.
  • Software service the interrupt routine and determine the error is due to timeout no response. The software clears the error.
  • Interrupt is deasserted and then asserted again due to second error and software handling of error is repeated.

It is software responsibility to handle the timeout error to avoid software hang due to pending memory access response.