This file contains the type definitions and helper macros for the Enet Time Aware Shaper (TAS) module interface.
Go to the source code of this file.
Data Structures | |
struct | EnetTas_GenericInArgs |
Generic input args. More... | |
struct | EnetTas_GateCmdEntry |
Gate control list. See IEEE Std 802.1Q-2018 8.6.8.4. More... | |
struct | EnetTas_MaxSDUTable |
Max SDU table. See IEEE Std 802.1Q-2018 12.29.1.1. More... | |
struct | EnetTas_ControlList |
Gate control list. See IEEE Std 802.1Q-2018 8.6.9.4 D3-1. More... | |
struct | EnetTas_ConfigStatus |
Config state machine variables. See IEEE Std 802.1Q-2018 8.6.8.4. More... | |
struct | EnetTas_SetAdminListInArgs |
Input args for ENET_TAS_IOCTL_SET_ADMIN_LIST commands. More... | |
struct | EnetTas_SetStateInArgs |
Input args for ENET_TAS_IOCTL_SET_STATE commands. More... | |
Macros | |
#define | ENET_TAS_PUBLIC_IOCTL(x) |
Helper macro to create IOCTL commands for TAS module. More... | |
#define | ENET_TAS_GATE_MASK(tc7, tc6, tc5, tc4, tc3, tc2, tc1, tc0) |
Helper macro to create a gate mask. More... | |
#define | ENET_TAS_MAX_CMD_LISTS (16) |
Maximum number of gate command entries in each list. More... | |
#define | ENET_TAS_MAX_NUM_QUEUES (8) |
Maximum number of transmit queues supported by implementation. More... | |
Enumerations | |
enum | EnetTas_Ioctl { ENET_TAS_IOCTL_GET_VERSION = ENET_TAS_PUBLIC_IOCTL(0U), ENET_TAS_IOCTL_SET_ADMIN_LIST = ENET_TAS_PUBLIC_IOCTL(1U), ENET_TAS_IOCTL_GET_OPER_LIST_STATUS = ENET_TAS_PUBLIC_IOCTL(2U), ENET_TAS_IOCTL_SET_STATE = ENET_TAS_PUBLIC_IOCTL(3U), ENET_TAS_IOCTL_GET_STATE = ENET_TAS_PUBLIC_IOCTL(4U), ENET_TAS_IOCTL_GET_ADMIN_LIST = ENET_TAS_PUBLIC_IOCTL(5U), ENET_TAS_IOCTL_GET_OPER_LIST = ENET_TAS_PUBLIC_IOCTL(6U), ENET_TAS_IOCTL_CONFIG_CHANGE_STATUS_PARAMS = ENET_TAS_PUBLIC_IOCTL(7U) } |
TAS module IOCTL commands. More... | |
enum | EnetTas_OperStatus { ENET_TAS_OPER_LIST_NOT_YET_UPDATED = 0, ENET_TAS_OPER_LIST_UPDATED = 1 } |
TAS state types. More... | |
enum | EnetTas_TasState { ENET_TAS_DISABLE = 0, ENET_TAS_ENABLE = 1, ENET_TAS_RESET = 2 } |
TAS state types. More... | |