|
AM263x MCU+ SDK
10.00.00
|
|
Go to the documentation of this file.
64 #define ENET_RM_PUBLIC_IOCTL(x) (ENET_IOCTL_TYPE_PUBLIC | \
65 ENET_IOCTL_RM_BASE | \
66 ENET_IOCTL_PER_GENERIC | \
77 #define ENET_RM_TXCHNUM_INVALID (0xABCDABCDU)
80 #define ENET_RM_RXFLOWIDX_INVALID (0xABCDABCDU)
83 #define ENET_RM_INVALIDCORE (0x5562AEFEU)
88 #define ENET_RM_NUM_IOCTL_PERM_ENTRY_MAX (16U)
91 #define ENET_RM_NUM_MACADDR_MAX (10U)
100 #define ENET_RM_NUM_RXCHAN_MAX (2U)
109 typedef enum EnetRm_Ioctls_e
172 typedef struct EnetRm_ResourceInfo_s
201 typedef struct EnetRm_ResPrms_s
216 typedef struct EnetRm_IoctlPermissionEntry_s
232 typedef struct EnetRm_IoctlPermissionTable_s
250 typedef struct EnetRm_MacAddressPool_s
262 typedef struct EnetRm_AllocRxFlowInArgs_s
274 typedef struct EnetRm_AllocRxFlow_s
286 typedef struct EnetRm_AllocMacAddrOutArgs_s
295 typedef struct EnetRm_FreeTxChInArgs_s
307 typedef struct EnetRm_FreeRxFlowInArgs_s
322 typedef struct EnetRm_FreeMacAddrInArgs_s
336 typedef struct EnetRm_ResCfg_s
uint32_t flowIdx
Definition: enet_rm.h:280
uint32_t cmd
Definition: enet_rm.h:219
#define ENET_CFG_REMOTE_CLIENT_CORES_MAX
Maximum number of remote clients cores.
Definition: enet_soc_cfg.h:106
uint32_t defaultPermittedCoreMask
Definition: enet_rm.h:236
uint32_t numTxCh
Definition: enet_rm.h:178
uint32_t flowIdx
Definition: enet_rm.h:316
EnetRm_MacAddressPool macList
Definition: enet_rm.h:348
Enet RM MAC address pool.
Definition: enet_rm.h:251
Enet RM resource parameters.
Definition: enet_rm.h:202
uint32_t coreId
Definition: enet_rm.h:175
This file contains the basic types using across the Enet driver.
uint32_t numMacAddress
Definition: enet_rm.h:192
#define ENET_RM_PUBLIC_IOCTL(x)
Helper macro to create IOCTL commands for Enet RM module.
Definition: enet_rm.h:64
Output args for ENET_RM_IOCTL_ALLOC_RX_FLOW command.
Definition: enet_rm.h:275
Input args for ENET_RM_IOCTL_FREE_RX_FLOW command.
Definition: enet_rm.h:308
@ ENET_RM_IOCTL_ALLOC_TX_CH_PEERID
Alloc TX channel peer id.
Definition: enet_rm.h:154
EnetRm_IoctlPermissionTable ioctlPermissionInfo
Definition: enet_rm.h:345
Resource manager configuration parameters.
Definition: enet_rm.h:337
uint32_t coreKey
Definition: enet_rm.h:265
uint32_t coreKey
Definition: enet_rm.h:298
EnetRm_Ioctls
Enet RM IOCTL commands.
Definition: enet_rm.h:110
uint32_t txChNum
Definition: enet_rm.h:301
uint32_t coreKey
Definition: enet_rm.h:310
uint32_t numEntries
Definition: enet_rm.h:239
uint32_t startIdx
Definition: enet_rm.h:277
EnetRm_ResPrms resPartInfo
Definition: enet_rm.h:342
@ ENET_RM_IOCTL_ALLOC_RX_FLOW
Alloc RX flow.
Definition: enet_rm.h:136
Enet RM IOCTL permission entry.
Definition: enet_rm.h:217
Input args for ENET_RM_IOCTL_FREE_MAC_ADDR command.
Definition: enet_rm.h:323
#define ENET_RM_NUM_MACADDR_MAX
Maximum number of macaddress to be managed by RM.
Definition: enet_rm.h:91
@ ENET_RM_IOCTL_FREE_RX_FLOW
Free RX flow.
Definition: enet_rm.h:145
uint32_t chIdx
Definition: enet_rm.h:313
uint32_t selfCoreId
Definition: enet_rm.h:339
uint32_t permittedCoreMask
Definition: enet_rm.h:223
@ ENET_RM_IOCTL_ALLOC_MAC_ADDR
Alloc MAC address.
Definition: enet_rm.h:118
uint32_t chIdx
Definition: enet_rm.h:268
Input args for ENET_RM_IOCTL_ALLOC_RX_FLOW command.
Definition: enet_rm.h:263
Input args for ENET_RM_IOCTL_ALLOC_MAC_ADDR command.
Definition: enet_rm.h:287
Enet RM resource information.
Definition: enet_rm.h:173
uint32_t numRxFlows
Definition: enet_rm.h:189
uint32_t numMacAddress
Definition: enet_rm.h:253
uint32_t numCores
Definition: enet_rm.h:204
@ ENET_RM_IOCTL_FREE_TX_CH_PEERID
Free TX channel peer id.
Definition: enet_rm.h:163
Input args for ENET_RM_IOCTL_FREE_TX_CH_PEERID command.
Definition: enet_rm.h:296
#define ENET_MAC_ADDR_LEN
MAC address length in bytes/octets.
Definition: enet_types.h:153
@ ENET_RM_IOCTL_FREE_MAC_ADDR
Free MAC address.
Definition: enet_rm.h:127
#define ENET_RM_NUM_IOCTL_PERM_ENTRY_MAX
Maximum number of entries for IOCTL permission.
Definition: enet_rm.h:88
uint32_t numRxCh
Definition: enet_rm.h:181
Enet RM IOCTL permission table.
Definition: enet_rm.h:233
uint32_t coreKey
Definition: enet_rm.h:325