PDK API Guide for J721E
CpswAle_VlanEntryInfo Struct Reference

Detailed Description

ALE VLAN entry type info.

Data Fields

CpswAle_VlanIdInfo vlanIdInfo
 
uint32_t vlanMemberList
 
uint32_t unregMcastFloodMask
 
uint32_t regMcastFloodMask
 
uint32_t forceUntaggedEgressMask
 
uint32_t noLearnMask
 
bool vidIngressCheck
 
bool limitIPNxtHdr
 
bool disallowIPFragmentation
 

Field Documentation

CpswAle_VlanIdInfo CpswAle_VlanEntryInfo::vlanIdInfo

VLAN id / VLAN type to be added

uint32_t CpswAle_VlanEntryInfo::vlanMemberList

Port member mask for the VLAN entry being added

uint32_t CpswAle_VlanEntryInfo::unregMcastFloodMask

Unregistered multicast flood mask - Mask used for multicast when the multicast address is not found

uint32_t CpswAle_VlanEntryInfo::regMcastFloodMask

Registered multicast flood mask - Mask used for multicast when the multicast address is found

uint32_t CpswAle_VlanEntryInfo::forceUntaggedEgressMask

Force untagged egress bit flags - Causes the packet VLAN tag to be removed on egress

uint32_t CpswAle_VlanEntryInfo::noLearnMask

VLAN No Learn Mask - When a bit is set in this mask, a packet with an unknown source address received on the associated port will not be learned (i.e. When a VLAN packet is received and the source address is not in the table, the source address will not be added to the table)

bool CpswAle_VlanEntryInfo::vidIngressCheck

VLAN Ingress Check - When set, if the receive port is not a member of this VLAN then the packet is dropped. This is similar to the vid_ingress_check bit in the ale_port_control register except this check is for this VLAN only (not all VLANs)

bool CpswAle_VlanEntryInfo::limitIPNxtHdr

Limit IP NXT hdr field - When set IP packets only with configured NXTHDR will be allowed

See also
CpswAle_IPPktSecurityConfig
bool CpswAle_VlanEntryInfo::disallowIPFragmentation

VLAN No IPv4 Fragmented frames Control - Causes IPv4 fragmented IP frames to be dropped