PDK API Guide for J721E
CpswMacPort_Config Struct Reference

Detailed Description

MAC port configuration.

Data Fields

bool enableLoopback
 
Cpsw_CrcType crcType
 
uint32_t rxMtu
 
bool passPriorityTaggedUnchanged
 
CpswPort_VlanConfig vlanConfig
 
CpswPort_TxPriorityType txPriorityType
 
CpswMacPort_SgmiiConfig sgmiiConfig
 

Field Documentation

bool CpswMacPort_Config::enableLoopback

Whether loopback mode is enabled or not

Cpsw_CrcType CpswMacPort_Config::crcType

Type of CRC

uint32_t CpswMacPort_Config::rxMtu

Max length of a received frame on ingress. This max length includes VLAN

bool CpswMacPort_Config::passPriorityTaggedUnchanged

Whether priority tagged packets should be passed unchanged (if set to true) or replaced with port's VID (if set to false)

CpswPort_VlanConfig CpswMacPort_Config::vlanConfig

Port VLAN configuration

CpswPort_TxPriorityType CpswMacPort_Config::txPriorityType

Egress priority type

CpswMacPort_SgmiiConfig CpswMacPort_Config::sgmiiConfig

SGMII config when port is used in Q/SGMII mode