Data Fields
CpswAle_SetPortMirroringConfigInArgs_s Struct Reference

Input args for CPSW_ALE_IOCTL_SET_PORT_MIRROR_CFG command. More...

#include <cpsw_ale.h>

Data Fields

bool enableSrc
 
bool enableDst
 
bool enableMatch
 
uint32_t destPortNum
 
uint32_t toPortNum
 
CpswAle_MirrorMatchParams matchParams
 
uint32_t srcPortNumMask
 

Detailed Description

Input args for CPSW_ALE_IOCTL_SET_PORT_MIRROR_CFG command.

Field Documentation

uint32_t CpswAle_SetPortMirroringConfigInArgs_s::destPortNum

The port to which destination traffic destined will be duplicated

bool CpswAle_SetPortMirroringConfigInArgs_s::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_s::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

bool CpswAle_SetPortMirroringConfigInArgs_s::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

CpswAle_MirrorMatchParams CpswAle_SetPortMirroringConfigInArgs_s::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_s::srcPortNumMask

Source port number mirroring enable bitmask

uint32_t CpswAle_SetPortMirroringConfigInArgs_s::toPortNum

The destination port for the mirror traffic


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

Copyright 2020, Texas Instruments Incorporated