AM261x MCU+ SDK: CpswMacPort_FifoStats Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
CpswMacPort_FifoStats Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet MAC Port » CPSW MAC Port

## Detailed Description

FIFO related statistics of a MAC port.

## Data Fields
uint32_t | rxThroughputRate
uint32_t | txStartWords
uint32_t | txMaxBlocks
uint32_t | rxMaxBlocks
uint32_t | txBlockCount
uint32_t | rxExpressBlockCount
uint32_t | rxPreemptBlockCount
bool | txActiveFifo [ENET_PRI_NUM]

## Field Documentation

## ◆ rxThroughputRate

uint32_t CpswMacPort_FifoStats::rxThroughputRate

Max throughput of the Ethernet ports to the crossbar SCR

## ◆ txStartWords

uint32_t CpswMacPort_FifoStats::txStartWords

Number of 32-byte packet words in an Ethernet port transmit FIFO before packet egress will begin

## ◆ txMaxBlocks

uint32_t CpswMacPort_FifoStats::txMaxBlocks

Max number of blocks allowed on all TX FIFO priorities combined

## ◆ rxMaxBlocks

uint32_t CpswMacPort_FifoStats::rxMaxBlocks

Max number of blocks allowed on the express and preempt RX FIFOs combined

## ◆ txBlockCount

uint32_t CpswMacPort_FifoStats::txBlockCount

Number of blocks allocated to the FIFO logical TX queues

## ◆ rxExpressBlockCount

uint32_t CpswMacPort_FifoStats::rxExpressBlockCount

Number of blocks allocated to the FIFO express RX queue

## ◆ rxPreemptBlockCount

uint32_t CpswMacPort_FifoStats::rxPreemptBlockCount

Number of blocks allocated to the FIFO preempt RX queue

## ◆ txActiveFifo

bool CpswMacPort_FifoStats::txActiveFifo[ENET_PRI_NUM]

Whether a FIFO priority has one or more queued packets or not