|
AM64x MCU+ SDK
08.02.00
|
|
Go to the documentation of this file.
47 #ifndef ENET_MOD_TAS_H_
48 #define ENET_MOD_TAS_H_
66 #define ENET_TAS_PUBLIC_IOCTL(x) (ENET_IOCTL_TYPE_PUBLIC | \
67 ENET_IOCTL_TAS_BASE | \
71 #define ENET_TAS_MAX_CMD_LISTS (16)
74 #define ENET_TAS_MAX_NUM_QUEUES (8)
77 #define ENET_TAS_MIN_CYCLE_TIME_NS (1000000)
80 #define ENET_TAS_MIN_WINDOW_DURATION_NS (10000)
89 typedef enum EnetTas_Ioctl_e
187 typedef struct EnetTas_GenericInArgs_s
196 typedef enum EnetTas_OperStatus_s
208 typedef enum EnetTas_TasState_s
223 typedef struct EnetTas_GateCmdEntry_s
235 typedef struct EnetTas_MaxSDUTable_s
243 typedef struct EnetTas_ControlList_s
266 typedef struct EnetTas_ConfigStatus_s
286 typedef struct EnetTas_SetAdminListInArgs_s
298 typedef struct EnetTas_SetStateInArgs_s
uint32_t timeInterval
Definition: enet_mod_tas.h:226
uint8_t listLength
Definition: enet_mod_tas.h:257
Config state machine variables. See IEEE Std 802.1Q-2018 8.6.8.4.
Definition: enet_mod_tas.h:267
Generic input args.
Definition: enet_mod_tas.h:188
#define ENET_TAS_MAX_CMD_LISTS
Maximum number of gate command entries in each list.
Definition: enet_mod_tas.h:71
EnetTas_TasState
TAS state types.
Definition: enet_mod_tas.h:209
Input args for ENET_TAS_IOCTL_SET_STATE commands.
Definition: enet_mod_tas.h:299
uint64_t cycleTime
Definition: enet_mod_tas.h:254
@ TAS_DISABLE
Definition: enet_mod_tas.h:211
uint64_t configChangeTime
Definition: enet_mod_tas.h:269
uint8_t configPending
Definition: enet_mod_tas.h:276
@ ENET_TAS_IOCTL_GET_OPER_LIST_STATUS
Get the status of the operational list update.
Definition: enet_mod_tas.h:126
uint32_t configChangeErrorCounter
Definition: enet_mod_tas.h:273
Enet_MacPort
MAC port.
Definition: enet_types.h:406
@ ENET_TAS_IOCTL_GET_ADMIN_LIST
Get the admin list parameters of the TAS module.
Definition: enet_mod_tas.h:159
EnetTas_ControlList adminList
Definition: enet_mod_tas.h:292
@ TAS_ENABLE
Definition: enet_mod_tas.h:214
Max SDU table. See IEEE Std 802.1Q-2018 12.29.1.1.
Definition: enet_mod_tas.h:236
Input args for ENET_TAS_IOCTL_SET_ADMIN_LIST commands.
Definition: enet_mod_tas.h:287
Gate control list. See IEEE Std 802.1Q-2018 8.6.9.4 D3-1.
Definition: enet_mod_tas.h:244
Enet_MacPort macPort
Definition: enet_mod_tas.h:301
@ TAS_OPER_LIST_NOT_YET_UPDATED
Definition: enet_mod_tas.h:199
@ ENET_TAS_IOCTL_CONFIG_CHANGE_STATUS_PARAMS
Get the TAS config change status parameters.
Definition: enet_mod_tas.h:181
EnetTas_Ioctl
TAS module IOCTL commands.
Definition: enet_mod_tas.h:90
@ TAS_OPER_LIST_UPDATED
Definition: enet_mod_tas.h:202
@ ENET_TAS_IOCTL_GET_OPER_LIST
Get the operational list parameters of the TAS module.
Definition: enet_mod_tas.h:170
EnetTas_MaxSDUTable sduTable
Definition: enet_mod_tas.h:260
EnetTas_OperStatus
ICSSG TAS state types.
Definition: enet_mod_tas.h:197
#define ENET_TAS_MAX_NUM_QUEUES
Maximum number of transmit queues supported by implementation.
Definition: enet_mod_tas.h:74
Enet_MacPort macPort
Definition: enet_mod_tas.h:190
#define ENET_TAS_PUBLIC_IOCTL(x)
Helper macro to create IOCTL commands for TAS module.
Definition: enet_mod_tas.h:66
uint8_t configChange
Definition: enet_mod_tas.h:280
@ ENET_TAS_IOCTL_SET_STATE
Set the State of the TAS module.
Definition: enet_mod_tas.h:137
Enet_MacPort macPort
Definition: enet_mod_tas.h:289
EnetTas_TasState state
Definition: enet_mod_tas.h:304
Gate control list. See IEEE Std 802.1Q-2018 8.6.8.4.
Definition: enet_mod_tas.h:224
This file contains the type definitions and helper macros for the Enet Module interface.
uint8_t gateStateMask
Definition: enet_mod_tas.h:229
@ ENET_TAS_IOCTL_GET_VERSION
Get the hardware version of the TAS module.
Definition: enet_mod_tas.h:100
@ TAS_RESET
Definition: enet_mod_tas.h:217
@ ENET_TAS_IOCTL_GET_STATE
Get the State of the TAS module.
Definition: enet_mod_tas.h:148
uint64_t baseTime
Definition: enet_mod_tas.h:248
@ ENET_TAS_IOCTL_SET_ADMIN_LIST
Set the admin list parameters of the TAS module.
Definition: enet_mod_tas.h:111