PDK API Guide for J721E
CpswAle_RestartConfig Struct Reference

Detailed Description

ALE restore configuration.

This data structure contains configuration items for CpswAle_restart Configuration parameters are those params which have to be reconfigured on Main domain reset or core watchdog reboot. Original ALE open configuration related to register configuration is retained due to CPSW IP reset isolation feature

Data Fields

Cpsw_Type cpswType
 
Cpsw_RestartType restartType
 
bool cpswVlanAwareMode
 
CpswAle_PortVlanConfig pvidCfg [CPSW_ALE_NUM_PORTS]
 
uint8_t macAddr [CPSW_ALE_NUM_MAC_PORTS][CPSW_ALE_MACADDR_NUM_OCTETS]
 

Field Documentation

Cpsw_Type CpswAle_RestartConfig::cpswType

Configuration of CPSW IP type such as CPSW2G/CPSW9G. This is needed for SoCs such as J721E which support multiple CPSW instances in a single SoC

Cpsw_RestartType CpswAle_RestartConfig::restartType

CPSW supports reset isolation and full availability even when a core goes down. This requires special handling in driver when restarting from such scenarios. Based on type of restart different handling is required

bool CpswAle_RestartConfig::cpswVlanAwareMode

Flag indicating if CPSW is in VLAN aware mode

CpswAle_PortVlanConfig CpswAle_RestartConfig::pvidCfg[CPSW_ALE_NUM_PORTS]

Default Vlan ID config for each port

uint8_t CpswAle_RestartConfig::macAddr[CPSW_ALE_NUM_MAC_PORTS][CPSW_ALE_MACADDR_NUM_OCTETS]

MAC address for each port which will be added as host port ALE static entry