Hi,
I have qestions about "Good Rx Frames”and ”Rx Start of Frame Overruns”for CPSW.
Q1: When a packet is received in a state that causes DMA Over Flow with the Next Buffer Pointer of the first descriptor of the receiving descriptor is set to NULL and the Owner Ship bit of Flags is turned OFF,
then "Good Rx Frames" counts up, but "Rx Start of Frame Overruns" does not count up.
When a packet is received in a state that causes DMA Over Flow with the Next Buffer Pointer of the first descriptor of the receiving descriptor is set to NULL and the Owner Ship bit of Flags is turned ON,
then "Good Rx Frames" counts up and "Rx Start of Frame Overruns" also counts up.
Are the following conditions correct for counting up only "Rx Start of Frame Overruns"?
When Next Buffer Pointer is NULL and Owner Ship bit is ON, or When a receiving FIFO is overflowed.
Q2: The document(TRM) described "Good Rx Frames" as [Overruns have no effect upon this statistic].
Even if Next Buffer Pointer is set to NULL, Owner Ship bit is set to ON and DMA Over Run occurs, then "Good Rx Frames" is still counting up.
So, does [Overruns have no effect upon this statistic] refer only to the Overflow of the receive FIFO?
Q3: When The "Rx Start of Frame Overruns" counts up, but the "Rx DMA Overruns" does not count up.
I understood from the documentation that "Rx DMA Overruns" is the sum of "Rx Start of Frame Overruns" and "Rx Middle of Frame Overruns", is this understanding correct?
Best Regards,
H.U