![]() |
PDK API Guide for J721E
|
Holds the EMAC statistics.
The statistics structure is the used to retrieve the current count of various packet events in the system. These values represent the delta values from the last time the statistics were read.
| Uint32 CSL_CPSW_STATS::RxGoodFrames |
Good Frames Received
| Uint32 CSL_CPSW_STATS::RxBCastFrames |
Good Broadcast Frames Received
| Uint32 CSL_CPSW_STATS::RxMCastFrames |
Good Multicast Frames Received
| Uint32 CSL_CPSW_STATS::RxPauseFrames |
PauseRx Frames Received
| Uint32 CSL_CPSW_STATS::RxCRCErrors |
Frames Received with CRC Errors
| Uint32 CSL_CPSW_STATS::RxAlignCodeErrors |
Frames Received with Alignment/Code Errors
| Uint32 CSL_CPSW_STATS::RxOversized |
Oversized Frames Received
| Uint32 CSL_CPSW_STATS::RxJabber |
Jabber Frames Received
| Uint32 CSL_CPSW_STATS::RxUndersized |
Undersized Frames Received
| Uint32 CSL_CPSW_STATS::RxFragments |
Rx Frame Fragments Received
| Uint32 CSL_CPSW_STATS::RxAleDrop |
Rx frames dropped by the ALE
| Uint32 CSL_CPSW_STATS::RxAleOverrunDrop |
Rx overrun frames dropped by the ALE
| Uint32 CSL_CPSW_STATS::RxOctets |
Total Received Bytes in Good Frames
| Uint32 CSL_CPSW_STATS::TxGoodFrames |
Good Frames Sent
| Uint32 CSL_CPSW_STATS::TxBCastFrames |
Good Broadcast Frames Sent
| Uint32 CSL_CPSW_STATS::TxMCastFrames |
Good Multicast Frames Sent
| Uint32 CSL_CPSW_STATS::TxPauseFrames |
PauseTx Frames Sent
| Uint32 CSL_CPSW_STATS::TxDeferred |
Frames Where Transmission was Deferred
| Uint32 CSL_CPSW_STATS::TxCollision |
Total Frames Sent With Collision
| Uint32 CSL_CPSW_STATS::TxSingleColl |
Frames Sent with Exactly One Collision
| Uint32 CSL_CPSW_STATS::TxMultiColl |
Frames Sent with Multiple Colisions
| Uint32 CSL_CPSW_STATS::TxExcessiveColl |
Tx Frames Lost Due to Excessive Collisions
| Uint32 CSL_CPSW_STATS::TxLateColl |
Tx Frames Lost Due to a Late Collision
| Uint32 CSL_CPSW_STATS::RxIpgError |
Rx inter-packet gap errors (10G only)
| Uint32 CSL_CPSW_STATS::TxCarrierSLoss |
Tx Frames Lost Due to Carrier Sense Loss
| Uint32 CSL_CPSW_STATS::TxOctets |
Total Transmitted Bytes in Good Frames
| Uint32 CSL_CPSW_STATS::Frame64 |
Total Tx&Rx with Octet Size of 64
| Uint32 CSL_CPSW_STATS::Frame65t127 |
Total Tx&Rx with Octet Size of 65 to 127
| Uint32 CSL_CPSW_STATS::Frame128t255 |
Total Tx&Rx with Octet Size of 128 to 255
| Uint32 CSL_CPSW_STATS::Frame256t511 |
Total Tx&Rx with Octet Size of 256 to 511
| Uint32 CSL_CPSW_STATS::Frame512t1023 |
Total Tx&Rx with Octet Size of 512 to 1023
| Uint32 CSL_CPSW_STATS::Frame1024tUp |
Total Tx&Rx with Octet Size of >=1024
| Uint32 CSL_CPSW_STATS::NetOctets |
Sum of all Octets Tx or Rx on the Network
| Uint32 CSL_CPSW_STATS::RxDropBottom |
Total Rx bottom of FIFO dropped frames
| Uint32 CSL_CPSW_STATS::PortmaskFrop |
Total dropped frames due to portmask
| Uint32 CSL_CPSW_STATS::RxDropTop |
Total Rx top of FIFO dropped frames
| Uint32 CSL_CPSW_STATS::AleRateLimitDrop |
Total dropped frames due to ALE Rate Limiting
| Uint32 CSL_CPSW_STATS::AleVidDrop |
Total dropped frames due to ALE VID Ingress
| Uint32 CSL_CPSW_STATS::AleAddrEqDrop |
Total dropped frames due to DA=SA
| Uint32 CSL_CPSW_STATS::Resv1[3] |
Unused Statistics registers
| Uint32 CSL_CPSW_STATS::AleUnKnUni |
Total ALE Unknown Unicast frames
| Uint32 CSL_CPSW_STATS::AleUnKnUniBytes |
Total ALE Unknown Unicast byte count
| Uint32 CSL_CPSW_STATS::AleUnKnMulti |
Total ALE Unknown Multicast frames
| Uint32 CSL_CPSW_STATS::AleUnKnMultiBytes |
Total ALE Unknown Multicast byte count
| Uint32 CSL_CPSW_STATS::AleUnKnBCast |
Total ALE Unknown Broadcast frames
| Uint32 CSL_CPSW_STATS::AleUnKnBCastBytes |
Total ALE Unknown Broadcast byte count
| Uint32 CSL_CPSW_STATS::AlePolMatch |
Total ALE Policer Match frames
| Uint32 CSL_CPSW_STATS::Resv2[46] |
Unused Statistics registers
| Uint32 CSL_CPSW_STATS::TxMemProtectErr |
Total Tx Memory Protect CRC Error
| Uint32 CSL_CPSW_STATS::TxPriPktCnt[8] |
Tx Priority [0-7] Packet Count
| Uint32 CSL_CPSW_STATS::TxPriByteCnt[8] |
Tx Priority [0-7] Byte Count
| Uint32 CSL_CPSW_STATS::TxPriDropPktCnt[8] |
Tx Priority [0-7] Drop packet Count
| Uint32 CSL_CPSW_STATS::TxPriDropByteCnt[8] |
Tx Priority [0-7] Drop byte Count