PDK API Guide for J721E
CpswAle_SetInterVLANConfigInArgs Struct Reference

Detailed Description

Output args for CPSW_ALE_IOCTL_SET_DEFAULT_THREADCFG IOCTL command.

InterVLAN routing configuration in ALE is associated with each Policer/Classifier entry.

Data Fields

CpswAle_PolicerMatchParams policerMatch
 
bool enableTTLCheck
 
uint32_t destPortMask
 
uint32_t routeIndex
 
uint32_t egressTrunkIndex
 

Field Documentation

CpswAle_PolicerMatchParams CpswAle_SetInterVLANConfigInArgs::policerMatch

Policer match config

bool CpswAle_SetInterVLANConfigInArgs::enableTTLCheck

Enable TTL field check for non-zero value

uint32_t CpswAle_SetInterVLANConfigInArgs::destPortMask

Destination Port mask to route the packet matching policerMatch

uint32_t CpswAle_SetInterVLANConfigInArgs::routeIndex

Destination port route index which has info on the MAC SA/DA to be replaced for the out going packet

uint32_t CpswAle_SetInterVLANConfigInArgs::egressTrunkIndex

The Egress Trunk Index is the calculated trunk index from the SA,DA or VLAN if modified to that InterVLAN routing will work on trunks as well. The DA, SA and VLAN are ignored for trunk generation on InterVLAN Routing so that this field is the index generated from the Egress Op replacements elclusive or'd together into a three bit index