PDK API Guide for AM64x
CSL_PktdmaRxChanCfg Struct Reference

Detailed Description

Receive channel configuration information.

This structure contains configuration information for a receive channel.

Data Fields

uint32_t pauseOnError
 
CSL_PktdmaAddrType addrType
 
CSL_PktdmaChanType chanType
 
uint32_t fetchWordSize
 
uint32_t trEventNum
 
uint32_t errEventNum
 
uint32_t busPriority
 
uint32_t busQos
 
uint32_t busOrderId
 
uint32_t rxTrCQ
 
uint32_t rxThread
 
uint32_t flowIdFwRangeStart
 
uint32_t flowIdFwRangeCnt
 
bool bIgnoreShortPkts
 
bool bIgnoreLongPkts
 
CSL_PktdmaChanSchedPri dmaPriority
 

Field Documentation

◆ pauseOnError

uint32_t CSL_PktdmaRxChanCfg::pauseOnError

[IN] When set, pause channel on error

◆ addrType

CSL_PktdmaAddrType CSL_PktdmaRxChanCfg::addrType

[udmap_only][IN] Address type for this channel

◆ chanType

CSL_PktdmaChanType CSL_PktdmaRxChanCfg::chanType

[IN] Channel type

◆ fetchWordSize

uint32_t CSL_PktdmaRxChanCfg::fetchWordSize

[udmap_only][IN] Descriptor/TR Size in 32-bit words

◆ trEventNum

uint32_t CSL_PktdmaRxChanCfg::trEventNum

[udmap_only][IN] Specifies a global event number to generate anytime the required event generation criteria specified in a TR are met (set to CSL_PKTDMA_NO_EVENT for no event generation)

◆ errEventNum

uint32_t CSL_PktdmaRxChanCfg::errEventNum

[udmap_only][IN] Specifies a global event number to generate anytime an error is encountered on the channel (set to CSL_PKTDMA_NO_EVENT for no event generation)

◆ busPriority

uint32_t CSL_PktdmaRxChanCfg::busPriority

[IN] 3-bit priority value (0=highest, 7=lowest)

◆ busQos

uint32_t CSL_PktdmaRxChanCfg::busQos

[udmap_only][IN] 3-bit qos value (0=highest, 7=lowest)

◆ busOrderId

uint32_t CSL_PktdmaRxChanCfg::busOrderId

[IN] 4-bit orderid value

◆ rxTrCQ

uint32_t CSL_PktdmaRxChanCfg::rxTrCQ

[udmap_only][IN] RX TR Completion Queue

◆ rxThread

uint32_t CSL_PktdmaRxChanCfg::rxThread

[IN] Rx channel destination ThreadID mapping

◆ flowIdFwRangeStart

uint32_t CSL_PktdmaRxChanCfg::flowIdFwRangeStart

[udmap_only][IN] Starting flow ID value for firewall check

◆ flowIdFwRangeCnt

uint32_t CSL_PktdmaRxChanCfg::flowIdFwRangeCnt

[udmap_only][IN] Number of valid flow ID's starting from flowIdFwRangeStart for firewall check

◆ bIgnoreShortPkts

bool CSL_PktdmaRxChanCfg::bIgnoreShortPkts

[udmap_only][IN] This field controls whether or not short packets will be treated as exceptions (false) or ignored (true) for the channel. This field is only used when the channel is in split UTC mode.

◆ bIgnoreLongPkts

bool CSL_PktdmaRxChanCfg::bIgnoreLongPkts

[udmap_only][IN] This field controls whether or not long packets will be treated as exceptions (false) or ignored (true) for the channel. This field is only used when the channel is in split UTC mode.

◆ dmaPriority

CSL_PktdmaChanSchedPri CSL_PktdmaRxChanCfg::dmaPriority

[IN] This field selects which scheduling bin the channel will be placed in for bandwidth allocation of the Rx DMA units