AM263Px MCU+ SDK: EnetRm_ResourceInfo Struct Reference

| AM263Px MCU+ SDK 26.00.00 |

Data Fields
EnetRm_ResourceInfo Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet Resource Management

## Detailed Description

Enet RM resource information.

This structure holds the number of TX channels, RX flows and MAC addresses partitioned to the core.

## Data Fields
uint32_t | coreId
uint32_t | numTxCh
EnetRm_TxCh | txCh [ENET_CFG_RM_TX_CH_MAX]
uint32_t | numRxCh
uint32_t | numRxFlows
uint32_t | numMacAddress
uint32_t | numHwPush

## Field Documentation

## ◆ coreId

uint32_t EnetRm_ResourceInfo::coreId

Core Id for which resource info is applicable

## ◆ numTxCh

uint32_t EnetRm_ResourceInfo::numTxCh

Number of TX channels

## ◆ txCh

EnetRm_TxCh EnetRm_ResourceInfo::txCh[ENET_CFG_RM_TX_CH_MAX]

Array of TX channels allocated for a given core

## ◆ numRxCh

uint32_t EnetRm_ResourceInfo::numRxCh

Number of RX channels

## ◆ numRxFlows

uint32_t EnetRm_ResourceInfo::numRxFlows

Number of RX Flows. The total number of Rx flows required for the RX channel is the sum of all RX flows alloted to different cores.

The total number of RX flows should be <= maximum number of RX flows supported by the SoC. Refer to the Enet SoC layer implementation to find out the maximum number of flows supported by SoC

## ◆ numMacAddress

uint32_t EnetRm_ResourceInfo::numMacAddress

Number of MAC addresses

## ◆ numHwPush

uint32_t EnetRm_ResourceInfo::numHwPush

Number of Hw Push instances