PDK API Guide for J721E
EnetRm_Cfg Struct Reference

Detailed Description

Enet RM configuration parameters.

Data Fields

Enet_Type enetType
 
uint32_t instId
 
uint32_t numRxCh
 
uint32_t rxStartFlowIdx [ENET_RM_NUM_RXCHAN_MAX]
 
uint32_t rxFlowIdxCnt [ENET_RM_NUM_RXCHAN_MAX]
 
EnetRm_ResPrms resPartInfo
 
EnetRm_IoctlPermissionTable ioctlPermissionInfo
 
EnetRm_MacAddressPool macList
 

Field Documentation

◆ enetType

Enet_Type EnetRm_Cfg::enetType

Peripheral type

◆ instId

uint32_t EnetRm_Cfg::instId

Enet peripheral instance id

◆ numRxCh

uint32_t EnetRm_Cfg::numRxCh

Number of RX channels in hardware. This determines the number of rxStartFlowIdx and rxFlowIdxCnt pairs that are needed. For instance, ICSSG Switch requires two channels, hence it needs two RX flow ranges.

◆ rxStartFlowIdx

uint32_t EnetRm_Cfg::rxStartFlowIdx[ENET_RM_NUM_RXCHAN_MAX]

RX flow start index

◆ rxFlowIdxCnt

uint32_t EnetRm_Cfg::rxFlowIdxCnt[ENET_RM_NUM_RXCHAN_MAX]

Number of RX flows allocated

◆ resPartInfo

EnetRm_ResPrms EnetRm_Cfg::resPartInfo

Resource partition information

◆ ioctlPermissionInfo

EnetRm_IoctlPermissionTable EnetRm_Cfg::ioctlPermissionInfo

IOCTL permission information

◆ macList

EnetRm_MacAddressPool EnetRm_Cfg::macList

MAC address list to be managed