PDK API Guide for J721E
CpswAle_PortMacModeConfig Struct Reference

Detailed Description

Structure for port MAC mode configuration.

Data Fields

bool macOnlyCafEnable
 
bool macOnlyEnable
 

Field Documentation

bool CpswAle_PortMacModeConfig::macOnlyCafEnable

MAC-only Copy All Frames:

  • When set a Mac Only port will transfer all received good frames to the host
  • When clear a Mac Only port will transfer packets to the host based on ALE destination address lookup operation (which operates more like an Ethernet MAC)
bool CpswAle_PortMacModeConfig::macOnlyEnable

MAC-only. When set enables this port be treated like a MAC port for the host. All traffic received is only sent to the host. The host must direct traffic to this port as the lookup engine will not send traffic to the ports with the p0_maconly bit set and the p0_no_learn also set. If p0_maconly bit is set and the p0_no_learn is not set, the host can send non-directed packets that can be sent to the destination of a MacOnly port. It is also possible that The host can broadcast to ports including MacOnly ports in this mode