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 |
uint32_t EnetCpdma_Cfg::txInterruptPerMSec |
Number of tx Interrupts per millisecond
uint32_t EnetCpdma_Cfg::rxInterruptPerMSec |
Number of rx Interrupts per millisecond
bool EnetCpdma_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
bool EnetCpdma_Cfg::enHostRxTsFlag |
Flag to enable timestamp encapsulated packet.
EnetCpdma_RxChInitPrms EnetCpdma_Cfg::rxChInitPrms |
RX channel configuration parameters
uint32_t EnetCpdma_Cfg::maxTxChannels |
Maximum number of Tx channels. Must be <= ENET_CPDMA_CPSW_MAX_TX_CH
uint32_t EnetCpdma_Cfg::maxRxChannels |
Maximum number of Rx channels. Must be <= ENET_CPDMA_CPSW_MAX_RX_CH