CPSW configuration.
Configuration information for the CPSW driver.
Data Fields | |
uint32_t | escalatePriorityLoadVal |
const void * | dmaCfg |
Cpsw_VlanCfg | vlanCfg |
uint32_t | txMtu [ENET_PRI_NUM] |
CpswHostPort_Cfg | hostPortCfg |
CpswAle_Cfg | aleCfg |
CpswCpts_Cfg | cptsCfg |
Mdio_Cfg | mdioCfg |
EnetRm_ResCfg | resCfg |
uint32_t | intrPriority |
Cpsw_MdioLinkStateChangeCb | mdioLinkStateChangeCb |
void * | mdioLinkStateChangeCbArg |
Cpsw_PortLinkStatusChangeCb | portLinkStatusChangeCb |
void * | portLinkStatusChangeCbArg |
bool | enableQsgmii0RDC |
bool | enableQsgmii1RDC |
bool | disablePhyDriver |
uint32_t Cpsw_Cfg::escalatePriorityLoadVal |
Escalate priority load value
const void* Cpsw_Cfg::dmaCfg |
Configuration of the CPSW DMA
Cpsw_VlanCfg Cpsw_Cfg::vlanCfg |
VLAN configuration (inner/outer VLAN ltype, customer/service switch)
uint32_t Cpsw_Cfg::txMtu[ENET_PRI_NUM] |
Max packet length transmitted on egress. Packets that are larger than this length will be dropped. This length excludes VLAN addition or removal
CpswHostPort_Cfg Cpsw_Cfg::hostPortCfg |
Configuration of the host (CPPI) port
CpswAle_Cfg Cpsw_Cfg::aleCfg |
Configure of the ALE module
CpswCpts_Cfg Cpsw_Cfg::cptsCfg |
Configure of the CPTS module
Mdio_Cfg Cpsw_Cfg::mdioCfg |
Configuration of the MDIO module
EnetRm_ResCfg Cpsw_Cfg::resCfg |
Configuration of CPSW Resource Partition
uint32_t Cpsw_Cfg::intrPriority |
Interrupt priority
Cpsw_MdioLinkStateChangeCb Cpsw_Cfg::mdioLinkStateChangeCb |
MDIO Link state change callback function pointer
void* Cpsw_Cfg::mdioLinkStateChangeCbArg |
Application data to be passed to the MDIO link state change callback
Cpsw_PortLinkStatusChangeCb Cpsw_Cfg::portLinkStatusChangeCb |
Port link status change callback function pointer. This callback is called when the port link is either fully functional or fully shutdown
void* Cpsw_Cfg::portLinkStatusChangeCbArg |
Application data to be passed to the port link status change callback
bool Cpsw_Cfg::enableQsgmii0RDC |
QSGMII0 Running Disparity Check (RDCD) enable - disables the rx running disparity so that errors do not propagate across lanes. It can be used when debugging a multi-port link to disable the disparity to isolate the receive errors
bool Cpsw_Cfg::enableQsgmii1RDC |
QSGMII1 Running Disparity Check (RDCD) enable
bool Cpsw_Cfg::disablePhyDriver |
Disable Enet LLD PHY driver - Disables use on PHY driver inside the Enet LLD. All PHY functionality including PHY state machine is bypassed Application will use this mode if ethernet PHY is managed outside the Enet LLD Application is responsible for PHY management. Application can register with Enet LLD to get mdioLinkStateChangeCb callback. Application must use Enet LLD IOCTLs to access MDIO as MDIO ownership is still with Enet LLD and there should not be multiple masters for the MDIO peripheral