PDK API Guide for J721E
|
Input args for CPSW_ALE_IOCTL_SET_TRUNK_CFG command.
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 |
uint32_t CpswAle_SetTrunkConfigInArgs::trunkId |
Trunk group ID value
uint32_t CpswAle_SetTrunkConfigInArgs::numPorts |
Number of ports in the trunk group
uint32_t CpswAle_SetTrunkConfigInArgs::trunkPortIndex[CPSW_ALE_NUM_PORTS] |
Trunk Group index value
uint32_t CpswAle_SetTrunkConfigInArgs::trunkHashBase |
Hash formula starting value
bool CpswAle_SetTrunkConfigInArgs::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::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
bool CpswAle_SetTrunkConfigInArgs::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::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::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::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