PDK API Guide for J721E
CSL_CPSW_STATS Struct Reference

Detailed Description

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.

Data Fields

Uint32 RxGoodFrames
 
Uint32 RxBCastFrames
 
Uint32 RxMCastFrames
 
Uint32 RxPauseFrames
 
Uint32 RxCRCErrors
 
Uint32 RxAlignCodeErrors
 
Uint32 RxOversized
 
Uint32 RxJabber
 
Uint32 RxUndersized
 
Uint32 RxFragments
 
Uint32 RxAleDrop
 
Uint32 RxAleOverrunDrop
 
Uint32 RxOctets
 
Uint32 TxGoodFrames
 
Uint32 TxBCastFrames
 
Uint32 TxMCastFrames
 
Uint32 TxPauseFrames
 
Uint32 TxDeferred
 
Uint32 TxCollision
 
Uint32 TxSingleColl
 
Uint32 TxMultiColl
 
Uint32 TxExcessiveColl
 
Uint32 TxLateColl
 
Uint32 RxIpgError
 
Uint32 TxCarrierSLoss
 
Uint32 TxOctets
 
Uint32 Frame64
 
Uint32 Frame65t127
 
Uint32 Frame128t255
 
Uint32 Frame256t511
 
Uint32 Frame512t1023
 
Uint32 Frame1024tUp
 
Uint32 NetOctets
 
Uint32 RxDropBottom
 
Uint32 PortmaskFrop
 
Uint32 RxDropTop
 
Uint32 AleRateLimitDrop
 
Uint32 AleVidDrop
 
Uint32 AleAddrEqDrop
 
Uint32 Resv1 [3]
 
Uint32 AleUnKnUni
 
Uint32 AleUnKnUniBytes
 
Uint32 AleUnKnMulti
 
Uint32 AleUnKnMultiBytes
 
Uint32 AleUnKnBCast
 
Uint32 AleUnKnBCastBytes
 
Uint32 AlePolMatch
 
Uint32 Resv2 [46]
 
Uint32 TxMemProtectErr
 
Uint32 TxPriPktCnt [8]
 
Uint32 TxPriByteCnt [8]
 
Uint32 TxPriDropPktCnt [8]
 
Uint32 TxPriDropByteCnt [8]
 

Field Documentation

◆ RxGoodFrames

Uint32 CSL_CPSW_STATS::RxGoodFrames

Good Frames Received

◆ RxBCastFrames

Uint32 CSL_CPSW_STATS::RxBCastFrames

Good Broadcast Frames Received

◆ RxMCastFrames

Uint32 CSL_CPSW_STATS::RxMCastFrames

Good Multicast Frames Received

◆ RxPauseFrames

Uint32 CSL_CPSW_STATS::RxPauseFrames

PauseRx Frames Received

◆ RxCRCErrors

Uint32 CSL_CPSW_STATS::RxCRCErrors

Frames Received with CRC Errors

◆ RxAlignCodeErrors

Uint32 CSL_CPSW_STATS::RxAlignCodeErrors

Frames Received with Alignment/Code Errors

◆ RxOversized

Uint32 CSL_CPSW_STATS::RxOversized

Oversized Frames Received

◆ RxJabber

Uint32 CSL_CPSW_STATS::RxJabber

Jabber Frames Received

◆ RxUndersized

Uint32 CSL_CPSW_STATS::RxUndersized

Undersized Frames Received

◆ RxFragments

Uint32 CSL_CPSW_STATS::RxFragments

Rx Frame Fragments Received

◆ RxAleDrop

Uint32 CSL_CPSW_STATS::RxAleDrop

Rx frames dropped by the ALE

◆ RxAleOverrunDrop

Uint32 CSL_CPSW_STATS::RxAleOverrunDrop

Rx overrun frames dropped by the ALE

◆ RxOctets

Uint32 CSL_CPSW_STATS::RxOctets

Total Received Bytes in Good Frames

◆ TxGoodFrames

Uint32 CSL_CPSW_STATS::TxGoodFrames

Good Frames Sent

◆ TxBCastFrames

Uint32 CSL_CPSW_STATS::TxBCastFrames

Good Broadcast Frames Sent

◆ TxMCastFrames

Uint32 CSL_CPSW_STATS::TxMCastFrames

Good Multicast Frames Sent

◆ TxPauseFrames

Uint32 CSL_CPSW_STATS::TxPauseFrames

PauseTx Frames Sent

◆ TxDeferred

Uint32 CSL_CPSW_STATS::TxDeferred

Frames Where Transmission was Deferred

◆ TxCollision

Uint32 CSL_CPSW_STATS::TxCollision

Total Frames Sent With Collision

◆ TxSingleColl

Uint32 CSL_CPSW_STATS::TxSingleColl

Frames Sent with Exactly One Collision

◆ TxMultiColl

Uint32 CSL_CPSW_STATS::TxMultiColl

Frames Sent with Multiple Colisions

◆ TxExcessiveColl

Uint32 CSL_CPSW_STATS::TxExcessiveColl

Tx Frames Lost Due to Excessive Collisions

◆ TxLateColl

Uint32 CSL_CPSW_STATS::TxLateColl

Tx Frames Lost Due to a Late Collision

◆ RxIpgError

Uint32 CSL_CPSW_STATS::RxIpgError

Rx inter-packet gap errors (10G only)

◆ TxCarrierSLoss

Uint32 CSL_CPSW_STATS::TxCarrierSLoss

Tx Frames Lost Due to Carrier Sense Loss

◆ TxOctets

Uint32 CSL_CPSW_STATS::TxOctets

Total Transmitted Bytes in Good Frames

◆ Frame64

Uint32 CSL_CPSW_STATS::Frame64

Total Tx&Rx with Octet Size of 64

◆ Frame65t127

Uint32 CSL_CPSW_STATS::Frame65t127

Total Tx&Rx with Octet Size of 65 to 127

◆ Frame128t255

Uint32 CSL_CPSW_STATS::Frame128t255

Total Tx&Rx with Octet Size of 128 to 255

◆ Frame256t511

Uint32 CSL_CPSW_STATS::Frame256t511

Total Tx&Rx with Octet Size of 256 to 511

◆ Frame512t1023

Uint32 CSL_CPSW_STATS::Frame512t1023

Total Tx&Rx with Octet Size of 512 to 1023

◆ Frame1024tUp

Uint32 CSL_CPSW_STATS::Frame1024tUp

Total Tx&Rx with Octet Size of >=1024

◆ NetOctets

Uint32 CSL_CPSW_STATS::NetOctets

Sum of all Octets Tx or Rx on the Network

◆ RxDropBottom

Uint32 CSL_CPSW_STATS::RxDropBottom

Total Rx bottom of FIFO dropped frames

◆ PortmaskFrop

Uint32 CSL_CPSW_STATS::PortmaskFrop

Total dropped frames due to portmask

◆ RxDropTop

Uint32 CSL_CPSW_STATS::RxDropTop

Total Rx top of FIFO dropped frames

◆ AleRateLimitDrop

Uint32 CSL_CPSW_STATS::AleRateLimitDrop

Total dropped frames due to ALE Rate Limiting

◆ AleVidDrop

Uint32 CSL_CPSW_STATS::AleVidDrop

Total dropped frames due to ALE VID Ingress

◆ AleAddrEqDrop

Uint32 CSL_CPSW_STATS::AleAddrEqDrop

Total dropped frames due to DA=SA

◆ Resv1

Uint32 CSL_CPSW_STATS::Resv1[3]

Unused Statistics registers

◆ AleUnKnUni

Uint32 CSL_CPSW_STATS::AleUnKnUni

Total ALE Unknown Unicast frames

◆ AleUnKnUniBytes

Uint32 CSL_CPSW_STATS::AleUnKnUniBytes

Total ALE Unknown Unicast byte count

◆ AleUnKnMulti

Uint32 CSL_CPSW_STATS::AleUnKnMulti

Total ALE Unknown Multicast frames

◆ AleUnKnMultiBytes

Uint32 CSL_CPSW_STATS::AleUnKnMultiBytes

Total ALE Unknown Multicast byte count

◆ AleUnKnBCast

Uint32 CSL_CPSW_STATS::AleUnKnBCast

Total ALE Unknown Broadcast frames

◆ AleUnKnBCastBytes

Uint32 CSL_CPSW_STATS::AleUnKnBCastBytes

Total ALE Unknown Broadcast byte count

◆ AlePolMatch

Uint32 CSL_CPSW_STATS::AlePolMatch

Total ALE Policer Match frames

◆ Resv2

Uint32 CSL_CPSW_STATS::Resv2[46]

Unused Statistics registers

◆ TxMemProtectErr

Uint32 CSL_CPSW_STATS::TxMemProtectErr

Total Tx Memory Protect CRC Error

◆ TxPriPktCnt

Uint32 CSL_CPSW_STATS::TxPriPktCnt[8]

Tx Priority [0-7] Packet Count

◆ TxPriByteCnt

Uint32 CSL_CPSW_STATS::TxPriByteCnt[8]

Tx Priority [0-7] Byte Count

◆ TxPriDropPktCnt

Uint32 CSL_CPSW_STATS::TxPriDropPktCnt[8]

Tx Priority [0-7] Drop packet Count

◆ TxPriDropByteCnt

Uint32 CSL_CPSW_STATS::TxPriDropByteCnt[8]

Tx Priority [0-7] Drop byte Count