AM261x MCU+ SDK: CpswAle_SetInterVlanCfgInArgs Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
CpswAle_SetInterVlanCfgInArgs Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet Forwarding Database (FDB) » CPSW Address Lookup Engine (ALE)

## Detailed Description

Output args for CPSW_ALE_IOCTL_SET_DEFAULT_THREADCFG command.

InterVLAN routing configuration in ALE is associated with each policer/classifier entry.

## Data Fields
CpswAle_PolicerMatchParams | policerMatch
bool | ttlCheckEn
uint32_t | dstPortMask
uint32_t | routeIdx
uint32_t | egressTrunkIdx

## Field Documentation

## ◆ policerMatch

CpswAle_PolicerMatchParams CpswAle_SetInterVlanCfgInArgs::policerMatch

Policer match configuration parameters

## ◆ ttlCheckEn

bool CpswAle_SetInterVlanCfgInArgs::ttlCheckEn

Enable TTL field check for non-zero value

## ◆ dstPortMask

uint32_t CpswAle_SetInterVlanCfgInArgs::dstPortMask

Destination port mask to route the packet matching policerMatch

## ◆ routeIdx

uint32_t CpswAle_SetInterVlanCfgInArgs::routeIdx

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

## ◆ egressTrunkIdx

uint32_t CpswAle_SetInterVlanCfgInArgs::egressTrunkIdx

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