PDK API Guide for J721E
|
CPSW configuration.
Configuration information for the CPSW driver.
uint32_t Cpsw_Config::escalatePriorityLoadVal |
Escalate priority load value
CpswDma_Config Cpsw_Config::dmaConfig |
Configuration of the CPSW DMA
Cpsw_VlanConfig Cpsw_Config::vlanConfig |
VLAN configuration (inner/outer VLAN ltype, customer/service switch)
uint32_t Cpsw_Config::txMtu[CPSW_PRIORITY_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_Config Cpsw_Config::hostPortConfig |
Configuration of the host (CPPI) port
CpswAle_Config Cpsw_Config::aleConfig |
Configure of the ALE submodule
CpswCpts_Config Cpsw_Config::cptsConfig |
Configure of the CPTS submodule
CpswMdio_Config Cpsw_Config::mdioConfig |
Configuration of the MDIO submodule
CpswRm_ResourceConfig Cpsw_Config::resourceConfig |
Configuration of CPSW Resource Partition
uint32_t Cpsw_Config::intrPriority |
Interrupt priority
Cpsw_MdioLinkStateChangeCb Cpsw_Config::mdioLinkStateChangeCb |
MDIO Link state change callback function pointer
void* Cpsw_Config::mdioLinkStateChangeCbArg |
Application data to be passed to the MDIO link state change callback
Cpsw_PortLinkStatusChangeCb Cpsw_Config::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_Config::portLinkStatusChangeCbArg |
Application data to be passed to the port link status change callback
bool Cpsw_Config::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_Config::enableQsgmii1RDC |
QSGMII1 Running Disparity Check (RDCD) enable