Data Fields
CpswMacPort_Config_s Struct Reference

MAC port configuration. More...

#include <cpsw_macport.h>

Data Fields

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

Detailed Description

MAC port configuration.

Field Documentation

Cpsw_CrcType CpswMacPort_Config_s::crcType

Type of CRC

bool CpswMacPort_Config_s::enableLoopback

Whether loopback mode is enabled or not

bool CpswMacPort_Config_s::passPriorityTaggedUnchanged

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

uint32_t CpswMacPort_Config_s::rxMtu

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

CpswMacPort_SgmiiConfig CpswMacPort_Config_s::sgmiiConfig

SGMII config when port is used in Q/SGMII mode

CpswPort_TxPriorityType CpswMacPort_Config_s::txPriorityType

Egress priority type

CpswPort_VlanConfig CpswMacPort_Config_s::vlanConfig

Port VLAN configuration


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

Copyright 2020, Texas Instruments Incorporated