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 |
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 CPSW DMA */ EnetDma_Cfg dmaCfg;
/*! 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