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