Data Fields
EnetDma_CbStats_s Struct Reference

Stats for packets submitted/retrieved in the DMA event callbacks functions. More...

#include <enet_dma.h>

Data Fields

uint64_t dataNotifyCnt
 
uint64_t zeroNotifyCnt
 
uint64_t totalPktCnt
 
uint64_t totalCycleCnt
 
uint64_t pktsPerNotifyMax
 
uint64_t pktsPerNotify [ENET_DMA_STATS_HISTORY_CNT]
 
uint64_t cycleCntPerNotifyMax
 
uint64_t cycleCntPerNotify [ENET_DMA_STATS_HISTORY_CNT]
 
uint64_t cycleCntPerPktMax
 
uint64_t cycleCntPerPkt [ENET_DMA_STATS_HISTORY_CNT]
 
uint64_t readyDmaDescQCnt [ENET_DMA_STATS_HISTORY_CNT]
 

Detailed Description

Stats for packets submitted/retrieved in the DMA event callbacks functions.

Field Documentation

uint64_t EnetDma_CbStats_s::cycleCntPerNotify[ENET_DMA_STATS_HISTORY_CNT]

Cycles consumed per call to single submit or retrieve call. Maintained for last #ENET_DMA_STATS_HISTORY_CNT packets

uint64_t EnetDma_CbStats_s::cycleCntPerNotifyMax

Maximum of cycles consumed of all submit or retrieve call.

uint64_t EnetDma_CbStats_s::cycleCntPerPkt[ENET_DMA_STATS_HISTORY_CNT]

Cycles per packet in submit or retrieve call. Maintained for last #ENET_DMA_STATS_HISTORY_CNT packets

uint64_t EnetDma_CbStats_s::cycleCntPerPktMax

Maximum cycles for single packet in submit or retrieve call

uint64_t EnetDma_CbStats_s::dataNotifyCnt

Total number of times the packets were submitted or retrieved from DMA

uint64_t EnetDma_CbStats_s::pktsPerNotify[ENET_DMA_STATS_HISTORY_CNT]

Packets retrieved per call to single submit or retrieve call. Maintained for last #ENET_DMA_STATS_HISTORY_CNT packets

uint64_t EnetDma_CbStats_s::pktsPerNotifyMax

Maximum packets retrieved in single submit or retrieve call. This count can help in determining optimal number of DMA descriptors and packet counts to be allocated

uint64_t EnetDma_CbStats_s::readyDmaDescQCnt[ENET_DMA_STATS_HISTORY_CNT]

Number of free DMA descriptors in the RX channels or TX channels DMA descriptor queue. Maintained for last #ENET_DMA_STATS_HISTORY_CNT packets. This can be useful to detect and handle drops in packet bursts

uint64_t EnetDma_CbStats_s::totalCycleCnt

Total cycles consumed to submit or retrieve totalPktCnt packets from DMA

uint64_t EnetDma_CbStats_s::totalPktCnt

Total number of packets submitted or retrieved from DMA

uint64_t EnetDma_CbStats_s::zeroNotifyCnt

Counts when DMA retrievePkts is called but no packets was retrieved. This count can help in determining optimal pacing interval


The documentation for this struct was generated from the following file:

Copyright 2020, Texas Instruments Incorporated