![]() |
![]() |
Stats for packets submitted/retrieved in the DMA event callbacks functions. More...
#include <cpsw_dma.h>
Data Fields | |
uint64_t | dataNotifyCnt |
uint64_t | zeroNotifyCnt |
uint64_t | totalPktCnt |
uint64_t | totalCycleCnt |
uint64_t | pktsPerNotifyMax |
uint64_t | pktsPerNotify [CPSW_DMA_STATS_HISTORY_CNT] |
uint64_t | cycleCntPerNotifyMax |
uint64_t | cycleCntPerNotify [CPSW_DMA_STATS_HISTORY_CNT] |
uint64_t | cycleCntPerPktMax |
uint64_t | cycleCntPerPkt [CPSW_DMA_STATS_HISTORY_CNT] |
uint64_t | readyDmaDescQCnt [CPSW_DMA_STATS_HISTORY_CNT] |
Stats for packets submitted/retrieved in the DMA event callbacks functions.
uint64_t CpswDma_CbFxnStats_s::cycleCntPerNotify[CPSW_DMA_STATS_HISTORY_CNT] |
Cycles consumed per call to single Submit or retrieve call. Maintained for last CPSW_DMA_STATS_HISTORY_CNT packets
uint64_t CpswDma_CbFxnStats_s::cycleCntPerNotifyMax |
Maximum of cycles consumed of all Submit or retrieve call.
uint64_t CpswDma_CbFxnStats_s::cycleCntPerPkt[CPSW_DMA_STATS_HISTORY_CNT] |
Cycles per packet in Submit or retrieve call. Maintained for last CPSW_DMA_STATS_HISTORY_CNT packets
uint64_t CpswDma_CbFxnStats_s::cycleCntPerPktMax |
Maximum cycles for single packet in Submit or retrieve call
uint64_t CpswDma_CbFxnStats_s::dataNotifyCnt |
Total no. of times the packets were submitted or retrieved from DMA
uint64_t CpswDma_CbFxnStats_s::pktsPerNotify[CPSW_DMA_STATS_HISTORY_CNT] |
Packets retrieved per call to single Submit or retrieve call. Maintained for last CPSW_DMA_STATS_HISTORY_CNT packets
uint64_t CpswDma_CbFxnStats_s::pktsPerNotifyMax |
Maximum packets retrieved in single Submit or retrieve call. This count can help in determining optimal no. of DMA descriptors and packet counts to be allocated
uint64_t CpswDma_CbFxnStats_s::readyDmaDescQCnt[CPSW_DMA_STATS_HISTORY_CNT] |
No. of free DMA descriptors in the RX Flows or TX channels DMA descriptor Q. Maintained for last CPSW_DMA_STATS_HISTORY_CNT packets. This can be useful to detect and handle drops in packet bursts
uint64_t CpswDma_CbFxnStats_s::totalCycleCnt |
Total cycles consumed to submit or retrieve totalPktCnt packets from DMA
uint64_t CpswDma_CbFxnStats_s::totalPktCnt |
Total no. of packets submitted or retrieved from DMA
uint64_t CpswDma_CbFxnStats_s::zeroNotifyCnt |
Counts when DMA retrievePkts is called but no packets was retrived. This count can help in determining optimal pacing interval