This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: PRP LRE statistics seam wrong for LRE_CNT_TX_C

Part Number: MCU-PLUS-SDK-AM243X

I work on a custom board AM243x with the last SDK mcu_plus_sdk_am243x_08_02_00_31

I am testing PRP demo application as recommended by your documentation.

I would like to understand statistics (attached here)

I have port A connected to my PC where wireshark collects packets.

TX packets on port A are OK since in wireshark I count the same number of packets coming from the board

RX packets are zero since I don't have another PRP node sending PRP frames

TX packets on port C are the same as Lookup error A: what does it mean ??

Actually, such packets are broadcast or multicast packets sent from my PC: why are they counted as TX instead of RX ?

I inspected the code of ICSSFW_HAL and I found that in hsrPrp_red.c, function RedTxPacket, the counter incremented is LRE_CNT_RX_C: why ? was it a mistake for LRE_CNT_TX_C ?

Anyway, this doesn't explain why the LRE_CNT_TX_C counter is equal to the packets received as broadcast or multicast (I expected LRE_CNT_RX_C).

S T A T I S T I C S

Lookup error A : 00000055
Lookup error B : 00000000

Tx             WrongLan Rx            Errors        Nodes      Proxy        Unique      Duplic.      Multi         OwnRx
--------        --------        --------      --------        --------       --------        --------       --------        --------       --------
00000002 00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000055 00000000 00000000 00000000 00000000 00000000 00000000

LRE_START        0
LRE_CNT_TX_A 5
LRE_CNT_TX_B 0
LRE_CNT_TX_C 3e
LRE_CNT_ERRWRONGLAN_A 0
LRE_CNT_ERRWRONGLAN_B 0
LRE_CNT_ERRWRONGLAN_C 0
LRE_CNT_RX_A 0
LRE_CNT_RX_B 0
LRE_CNT_RX_C 1
LRE_CNT_ERRORS_A 0
LRE_CNT_ERRORS_B 0
LRE_CNT_ERRORS_C 0
LRE_CNT_NODES 1
LRE_CNT_PROXY_NODES 0
LRE_CNT_UNIQUE_RX_A 0
LRE_CNT_UNIQUE_RX_B 0
LRE_CNT_UNIQUE_RX_C 0
LRE_CNT_DUPLICATE_RX_A 0
LRE_CNT_DUPLICATE_RX_B 0
LRE_CNT_DUPLICATE_RX_C 0
LRE_CNT_MULTIPLE_RX_A 0
LRE_CNT_MULTIPLE_RX_B 0
LRE_CNT_MULTIPLE_RX_C 0
LRE_CNT_OWN_RX_A 0
LRE_CNT_OWN_RX_B 0
LRE_DUPLICATE_DISCARD 2
LRE_TRANSPARENT_RECEPTION 1
LRE_NODE_TABLE_LOOKUP_ERROR_A 3e
LRE_NODE_TABLE_LOOKUP_ERROR_B 0
LRE_NODE_TABLE_FULL 0
LRE_MULTICAST_DROPPED 0
LRE_VLAN_DROPPED 0
LRE_INTR_TMR_EXP 0