PDK API Guide for J721E
CSL_CPSW_ALE_PORTCONTROL Struct Reference

Detailed Description

Holds the ALE Port control register info.

Data Fields

CSL_CPSW_ALE_PORTSTATE portState
 
Uint32 dropUntaggedEnable
 
Uint32 vidIngressCheckEnable
 
Uint32 noLearnModeEnable
 
Uint32 noSaUpdateEnable
 
Uint32 macOnlyEnable
 
Uint32 macAuthDisable
 
Uint32 macOnlyCafEnable
 
Uint32 mcastLimit
 
Uint32 bcastLimit
 
Uint32 dropDualVlan
 
Uint32 dropDoubleVlan
 

Field Documentation

◆ portState

CSL_CPSW_ALE_PORTSTATE CSL_CPSW_ALE_PORTCONTROL::portState

Port state

◆ dropUntaggedEnable

Uint32 CSL_CPSW_ALE_PORTCONTROL::dropUntaggedEnable

Drop non-VLAN tagged ingress packets?

◆ vidIngressCheckEnable

Uint32 CSL_CPSW_ALE_PORTCONTROL::vidIngressCheckEnable

VLAN ID Ingress check enable

◆ noLearnModeEnable

Uint32 CSL_CPSW_ALE_PORTCONTROL::noLearnModeEnable

No learn mode enable

◆ noSaUpdateEnable

Uint32 CSL_CPSW_ALE_PORTCONTROL::noSaUpdateEnable

No Source Address Update enable

◆ macOnlyEnable

Uint32 CSL_CPSW_ALE_PORTCONTROL::macOnlyEnable

MAC only mode enable: When set allows the port to be treated like a Mac port for the host. All traffic received is sent only to the host. The host must direct traffic to this port as the lookup engine will not send traffic to ports with macOnlyEnable and noLearnModeEnable is set. If macOnlyEnable is set and noLearnModeEnable is not set, the host can send non-directed packets to a lookup destination with macOnlyEnable set. It is also possible that the host can broadcast to all ports including Mac Only ports in this mode.

◆ macAuthDisable

Uint32 CSL_CPSW_ALE_PORTCONTROL::macAuthDisable

Disable MAC Authorization Mode for this port

Note
: This field is only valid when CPSW MAC authentication is enabled.

◆ macOnlyCafEnable

Uint32 CSL_CPSW_ALE_PORTCONTROL::macOnlyCafEnable

Mac Only Copy All Frames: Set: A Mac Only port will transfer all received good frames to the host. Clear: A Mac Only port will transfer packets to the host based on ALE destination address lookup operation.

◆ mcastLimit

Uint32 CSL_CPSW_ALE_PORTCONTROL::mcastLimit

Multicast packet rate limit

◆ bcastLimit

Uint32 CSL_CPSW_ALE_PORTCONTROL::bcastLimit

Broadcast packet rate limit

◆ dropDualVlan

Uint32 CSL_CPSW_ALE_PORTCONTROL::dropDualVlan

Drop Dual VLAN - When set will cause any received packet with dual VLAN stag followed by ctag to be dropped

◆ dropDoubleVlan

Uint32 CSL_CPSW_ALE_PORTCONTROL::dropDoubleVlan

Drop Double VLAN - When set cause any received packet with double VLANs to be dropped. That is if there are two ctag or two stag fields in the packet it will be dropped