Data Fields
CpswAle_PolicerMatchParams_s Struct Reference

ALE classifier/policer match parameters. More...

#include <cpsw_ale.h>

Data Fields

uint32_t policerMatchEnableMask
 
uint32_t portNum
 
bool portIsTrunk
 
uint32_t priority
 
CpswAle_OuiEntryInfo ouiInfo
 
CpswAle_MacAddrClassifierInfo srcMacAddrInfo
 
CpswAle_MacAddrClassifierInfo dstMacAddrInfo
 
uint32_t ivlanId
 
uint32_t ovlanId
 
uint16_t etherType
 
CpswAle_IpAddrClassifierInfo srcIpInfo
 
CpswAle_IpAddrClassifierInfo dstIpInfo
 

Detailed Description

ALE classifier/policer match parameters.

Field Documentation

CpswAle_IpAddrClassifierInfo CpswAle_PolicerMatchParams_s::dstIpInfo

Destination IP address to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_IPDST in policerMatchEnableMask is set

CpswAle_MacAddrClassifierInfo CpswAle_PolicerMatchParams_s::dstMacAddrInfo

Destination MAC address to match. Must valid if bit CPSW_ALE_POLICER_MATCH_MACDST in policerMatchEnableMask is set

uint16_t CpswAle_PolicerMatchParams_s::etherType

Frame EtherType to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_ETHERTYPE in policerMatchEnableMask is set

uint32_t CpswAle_PolicerMatchParams_s::ivlanId

Inner VLAN ID to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_IVLAN in policerMatchEnableMask is set

CpswAle_OuiEntryInfo CpswAle_PolicerMatchParams_s::ouiInfo

OUI address to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_OUI in policerMatchEnableMask is set

uint32_t CpswAle_PolicerMatchParams_s::ovlanId

Outer VLAN ID to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_OVLAN in policerMatchEnableMask is set

uint32_t CpswAle_PolicerMatchParams_s::policerMatchEnableMask

Bitmask selecting classifier types to enable.

See Also
ALE classifier match types
bool CpswAle_PolicerMatchParams_s::portIsTrunk

Flag indicating port number is a trunk group

uint32_t CpswAle_PolicerMatchParams_s::portNum

Port number to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_PORT in policerMatchEnableMask is set

uint32_t CpswAle_PolicerMatchParams_s::priority

Received packet priority to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_PRIORITY in policerMatchEnableMask is set

CpswAle_IpAddrClassifierInfo CpswAle_PolicerMatchParams_s::srcIpInfo

Source IP address to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_IPSRC in policerMatchEnableMask is set

CpswAle_MacAddrClassifierInfo CpswAle_PolicerMatchParams_s::srcMacAddrInfo

Source MAC address to match. Must be valid if bit CPSW_ALE_POLICER_MATCH_MACSRC in policerMatchEnableMask is set


The documentation for this struct was generated from the following file:

Copyright 2020, Texas Instruments Incorporated