AM263Px MCU+ SDK: EnetDma_Cfg Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
EnetDma_Cfg Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet Data Path (DMA) » Enet CPDMA APIs » CPDMA Configuration

## Detailed Description

Config structure for Enet CPDMA.

The parameter structure for Enet CPDMA configuration, containing a Rx channel config and NAVSS instance id.

## Data Fields
uint32_t | txInterruptPerMSec
uint32_t | rxInterruptPerMSec
bool | enChOverrideFlag
bool | enHostRxTsFlag
EnetCpdma_RxChInitPrms | rxChInitPrms
uint32_t | maxTxChannels
uint32_t | maxRxChannels

## Field Documentation

## ◆ txInterruptPerMSec

uint32_t EnetDma_Cfg::txInterruptPerMSec

Number of tx Interrupts per millisecond

## ◆ rxInterruptPerMSec

uint32_t EnetDma_Cfg::rxInterruptPerMSec

Number of rx Interrupts per millisecond

## ◆ enChOverrideFlag

bool EnetDma_Cfg::enChOverrideFlag

Flag to enable channel override feature to be used by classifier. For Rx channels, the packet is directed to a specific rx channel number based on switch priority by default. The default priority mapping is identity based like packet with priority 1 will go to rx channel 1, and so on. To override this and direct packets to a specific rx channels based on ALE flow id classifier match enable this flag. This feature is supported only on AM263x SOC and not AM273x/AWR294x

## ◆ enHostRxTsFlag

bool EnetDma_Cfg::enHostRxTsFlag

Flag to enable timestamp encapsulated packet.

## ◆ rxChInitPrms

EnetCpdma_RxChInitPrms EnetDma_Cfg::rxChInitPrms

RX channel configuration parameters

## ◆ maxTxChannels

uint32_t EnetDma_Cfg::maxTxChannels

Maximum number of Tx channels. Must be <= ENET_CPDMA_CPSW_MAX_TX_CH

## ◆ maxRxChannels

uint32_t EnetDma_Cfg::maxRxChannels

Maximum number of Rx channels. Must be <= ENET_CPDMA_CPSW_MAX_RX_CH