PDK API Guide for J721E
|
MAC port module configuration parameters.
Data Fields | |
bool | loopbackEn |
Enet_CrcType | crcType |
uint32_t | rxMtu |
bool | passPriorityTaggedUnchanged |
EnetPort_VlanCfg | vlanCfg |
EnetPort_EgressPriorityType | txPriorityType |
EnetMac_SgmiiMode | sgmiiMode |
bool | txEccErrEn |
bool | rxEccErrEn |
bool CpswMacPort_Cfg::loopbackEn |
Whether loopback mode is enabled or not
Enet_CrcType CpswMacPort_Cfg::crcType |
Type of CRC
uint32_t CpswMacPort_Cfg::rxMtu |
Max length of a received frame on ingress. This max length includes VLAN
bool CpswMacPort_Cfg::passPriorityTaggedUnchanged |
Whether priority tagged packets should be passed unchanged (if set to BTRUE) or replaced with port's VID (if set to BFALSE)
EnetPort_VlanCfg CpswMacPort_Cfg::vlanCfg |
Port VLAN configuration
EnetPort_EgressPriorityType CpswMacPort_Cfg::txPriorityType |
Egress priority type
EnetMac_SgmiiMode CpswMacPort_Cfg::sgmiiMode |
SGMII mode. Applicable only when port is used in Q/SGMII mode
bool CpswMacPort_Cfg::txEccErrEn |
Enable TX ECC error test operations. When enabled, ECC errors can be injected via the corresponding ECC module. Otherwise, injected errors won't take any effect. Note that ECC functionality itself is always enabled.
bool CpswMacPort_Cfg::rxEccErrEn |
Enable RX ECC error test operations. When enabled, ECC errors can be injected via the corresponding ECC module. Otherwise, injected errors won't take any effect. Note that ECC functionality itself is always enabled.