PDK API Guide for AM65xx
enet_rm_priv.h File Reference

Introduction

This file contains the private type definitions and helper macros for Enet Resource Manager.

Go to the source code of this file.

Data Structures

struct  EnetRm_ValidatePermissionInArgs
 Input args for ENET_RM_IOCTL_VALIDATE_PERMISSION command. More...
 
struct  EnetRm_AllocInternalRxFlowInArgs
 Input args for ENET_RM_IOCTL_INTERNAL_ALLOC_RX_FLOW command. More...
 
struct  EnetRm_FreeInternalRxFlowInArgs
 Input args for ENET_RM_IOCTL_FREE_RX_FLOW command. More...
 
struct  EnetRm_Cfg
 Enet RM configuration parameters. More...
 
struct  EnetRm_ResEntry_t
 Resource manager entry. More...
 
struct  EnetRm_CoreResInfo_t
 Resources of a given core. More...
 
struct  EnetRm_CoreResTbl_t
 Resource table of all cores. More...
 
struct  EnetRm_TxChObj
 TX resources. More...
 
struct  EnetRm_RxFlowIdxObj
 RX resources. More...
 
struct  EnetRm_MacAddressObj
 MAC address resources. More...
 
struct  EnetRm_CoreAttachInfo
 Information about attached cores. More...
 
struct  EnetRm_Obj
 Enet Resource Manager driver object. More...
 

Macros

#define ENET_RM_PRIVATE_IOCTL(x)
 Helper macro to create private IOCTL commands for Enet RM module. More...
 

Typedefs

typedef EnetRm_FreeRxFlowInArgs EnetRm_ValidateRxFlowInArgs
 Input args for ENET_RM_IOCTL_VALIDATE_RX_FLOW command. More...
 
typedef EnetRm_ObjEnetRm_Handle
 Enet RM module handle. More...
 

Enumerations

enum  EnetRm_PrivIoctls {
  ENET_RM_IOCTL_VALIDATE_PERMISSION = ENET_RM_PRIVATE_IOCTL(0U), ENET_RM_IOCTL_ATTACH = ENET_RM_PRIVATE_IOCTL(1U), ENET_RM_IOCTL_DETACH = ENET_RM_PRIVATE_IOCTL(2U), ENET_RM_IOCTL_INTERNAL_ALLOC_RX_FLOW = ENET_RM_PRIVATE_IOCTL(3U),
  ENET_RM_IOCTL_INTERNAL_FREE_RX_FLOW = ENET_RM_PRIVATE_IOCTL(4U), ENET_RM_IOCTL_VALIDATE_RX_FLOW = ENET_RM_PRIVATE_IOCTL(5U)
}
 Enet RM private IOCTL commands. More...
 

Functions

int32_t EnetRm_open (EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId, const void *cfg, uint32_t cfgSize)
 Open and initialize Enet RM module. More...
 
int32_t EnetRm_rejoin (EnetMod_Handle hMod, Enet_Type enetType, uint32_t instId)
 Rejoin Enet RM module for a running peripheral. More...
 
int32_t EnetRm_ioctl (EnetMod_Handle hMod, uint32_t cmd, Enet_IoctlPrms *prms)
 Run an IOCTL operation on Enet RM. More...
 
void EnetRm_close (EnetMod_Handle hMod)
 Close Enet RM module. More...