PDK API Guide for J721E
|
Input args for CPSW_ALE_IOCTL_SET_PORT_MIRROR_CFG command.
Data Fields | |
bool | enableSrc |
bool | enableDst |
bool | enableMatch |
uint32_t | destPortNum |
uint32_t | toPortNum |
CpswAle_MirrorMatchParams | matchParams |
uint32_t | srcPortNumMask |
bool CpswAle_SetPortMirroringConfigInArgs::enableSrc |
Enables the source port mirror option. When this bit is set any port with the pX_mirror_sp set in the ALE Port Control registers set will have its received traffic also sent to the mirror_top port
bool CpswAle_SetPortMirroringConfigInArgs::enableDst |
Enables the destination port mirror option. When this bit is set any traffic destined for the mirror_dp port will have its transmit traffic also sent to the mirror_top port
bool CpswAle_SetPortMirroringConfigInArgs::enableMatch |
Enables the match mirror option. When this bit is set any traffic whose destination, source, VLAN or OUI matches the mirror_midx entry index will have that traffic also sent to the mirror_top port
uint32_t CpswAle_SetPortMirroringConfigInArgs::destPortNum |
The port to which destination traffic destined will be duplicated
uint32_t CpswAle_SetPortMirroringConfigInArgs::toPortNum |
The destination port for the mirror traffic
CpswAle_MirrorMatchParams CpswAle_SetPortMirroringConfigInArgs::matchParams |
ALE lookup table entry info that when a match occurs will cause this traffic to be mirrored to the mirror_top port. Must be valid if enableMatch is TRUE
uint32_t CpswAle_SetPortMirroringConfigInArgs::srcPortNumMask |
Source port number mirroring enable bitmask