![]() |
![]() |
ALE restore configuration. More...
#include <cpsw_ale.h>
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
Cpsw_Type CpswAle_RestartConfig_s::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
bool CpswAle_RestartConfig_s::cpswVlanAwareMode |
Flag indicating if CPSW is in VLAN aware mode
uint8_t CpswAle_RestartConfig_s::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
CpswAle_PortVlanConfig CpswAle_RestartConfig_s::pvidCfg[CPSW_ALE_NUM_PORTS] |
Default Vlan ID config for each port
Cpsw_RestartType CpswAle_RestartConfig_s::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