Data Fields
CpswAle_SetTrunkConfigInArgs_s Struct Reference

Input args for CPSW_ALE_IOCTL_SET_TRUNK_CFG command. More...

#include <cpsw_ale.h>

Data Fields

uint32_t trunkId
 
uint32_t numPorts
 
uint32_t trunkPortIndex [CPSW_ALE_NUM_PORTS]
 
uint32_t trunkHashBase
 
bool enableDstIP
 
bool enableSrcIP
 
bool enableInnerVLAN
 
bool enablePri
 
bool enableSrc
 
bool enableDst
 

Detailed Description

Input args for CPSW_ALE_IOCTL_SET_TRUNK_CFG command.

Field Documentation

bool CpswAle_SetTrunkConfigInArgs_s::enableDst

enables the destination IP address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination

bool CpswAle_SetTrunkConfigInArgs_s::enableDstIP

Enables the destination MAC address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination

bool CpswAle_SetTrunkConfigInArgs_s::enableInnerVLAN

Enables the inner VLAN ID value (C-VLANID) to be used with the hash function G(X) = 1 + X+ X^3 and affect the trunk port transmit link determination

bool CpswAle_SetTrunkConfigInArgs_s::enablePri

Enables the VLAN Priority bits to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination

bool CpswAle_SetTrunkConfigInArgs_s::enableSrc

Enables the source IP address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination

bool CpswAle_SetTrunkConfigInArgs_s::enableSrcIP

Enables the source MAC address to be used with the hash function G(X) = 1 + X + X^3 and affect the trunk port transmit link determination

uint32_t CpswAle_SetTrunkConfigInArgs_s::numPorts

Number of ports in the trunk group

uint32_t CpswAle_SetTrunkConfigInArgs_s::trunkHashBase

Hash formula starting value

uint32_t CpswAle_SetTrunkConfigInArgs_s::trunkId

Trunk group ID value

uint32_t CpswAle_SetTrunkConfigInArgs_s::trunkPortIndex[CPSW_ALE_NUM_PORTS]

Trunk Group index value


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

Copyright 2020, Texas Instruments Incorporated