![]() |
PDK API Guide for J721E
|
CPSW ALE object.
Data Fields | |
EnetMod_Obj | enetMod |
uint32_t | numPorts |
CSL_CPSW_ALETABLE_TYPE | tableType |
Enet_Type | enetType |
uint32_t | instId |
bool | pvidEn |
CpswAle_RxFilter | rxFilter |
bool | softTimerActive |
uint32_t | softTickCnt |
uint32_t | tickTimeoutCnt |
uint32_t | aleFreqHz |
CpswAle_PortVlanCfg | pvid [CPSW_ALE_NUM_PORTS] |
EnetMod_Obj CpswAle_Obj::enetMod |
EnetMod must be the first member
uint32_t CpswAle_Obj::numPorts |
Total number of ports
CSL_CPSW_ALETABLE_TYPE CpswAle_Obj::tableType |
Type of ALE table
Enet_Type CpswAle_Obj::enetType |
Ethernet peripheral type. Required to query SoC parameters (clock freq)
uint32_t CpswAle_Obj::instId |
Peripheral instance number. Required to query SoC parameters (clock freq)
bool CpswAle_Obj::pvidEn |
CPSW in VLAN aware mode (i.e port VLAN id enabled)
CpswAle_RxFilter CpswAle_Obj::rxFilter |
Active receive filter settings
bool CpswAle_Obj::softTimerActive |
Whether ALE timer is active or not
uint32_t CpswAle_Obj::softTickCnt |
Current timer count (increments when ALE timer is marked as active)
uint32_t CpswAle_Obj::tickTimeoutCnt |
ALE timeout count
uint32_t CpswAle_Obj::aleFreqHz |
ALE functional clock frequency in Hz
CpswAle_PortVlanCfg CpswAle_Obj::pvid[CPSW_ALE_NUM_PORTS] |
Default Port VLAN ID