Data Fields
Cpsw_Config_s Struct Reference

CPSW configuration. More...

#include <cpsw.h>

Data Fields

uint32_t escalatePriorityLoadVal
 
CpswDma_Config dmaConfig
 
Cpsw_VlanConfig vlanConfig
 
uint32_t txMtu [CPSW_PRIORITY_NUM]
 
CpswHostPort_Config hostPortConfig
 
CpswAle_Config aleConfig
 
CpswCpts_Config cptsConfig
 
CpswMdio_Config mdioConfig
 
CpswRm_ResourceConfig resourceConfig
 
uint32_t intrPriority
 
Cpsw_MdioLinkStateChangeCb mdioLinkStateChangeCb
 
void * mdioLinkStateChangeCbArg
 
Cpsw_PortLinkStatusChangeCb portLinkStatusChangeCb
 
void * portLinkStatusChangeCbArg
 
bool enableQsgmii0RDC
 
bool enableQsgmii1RDC
 

Detailed Description

CPSW configuration.

Configuration information for the CPSW driver.

Field Documentation

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)


The documentation for this struct was generated from the following file:

Copyright 2020, Texas Instruments Incorporated