PDK API Guide for J721E
|
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 |
CSL_CPSW_ALE_PORTSTATE CSL_CPSW_ALE_PORTCONTROL::portState |
Port state
Uint32 CSL_CPSW_ALE_PORTCONTROL::dropUntaggedEnable |
Drop non-VLAN tagged ingress packets?
Uint32 CSL_CPSW_ALE_PORTCONTROL::vidIngressCheckEnable |
VLAN ID Ingress check enable
Uint32 CSL_CPSW_ALE_PORTCONTROL::noLearnModeEnable |
No learn mode enable
Uint32 CSL_CPSW_ALE_PORTCONTROL::noSaUpdateEnable |
No Source Address Update enable
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.
Uint32 CSL_CPSW_ALE_PORTCONTROL::macAuthDisable |
Disable MAC Authorization Mode for this port
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.
Uint32 CSL_CPSW_ALE_PORTCONTROL::mcastLimit |
Multicast packet rate limit
Uint32 CSL_CPSW_ALE_PORTCONTROL::bcastLimit |
Broadcast packet rate limit
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
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