This file contains the type definitions and helper macros for the ICSSG peripheral interface.
|
enum | Icssg_Instance_Num { ICSSG_INSTANCE_NUM_0,
ICSSG_INSTANCE_NUM_1,
ICSSG_INSTANCE_NUM_2
} |
| ICSSG instance numbers. More...
|
|
enum | Icssg_Ioctl {
ICSSG_MACPORT_IOCTL_ENABLE_PROMISC_MODE = ICSSG_PUBLIC_IOCTL(0U),
ICSSG_MACPORT_IOCTL_DISABLE_PROMISC_MODE = ICSSG_PUBLIC_IOCTL(1U),
ICSSG_PER_IOCTL_VLAN_RESET_TABLE = ICSSG_PUBLIC_IOCTL(2U),
ICSSG_PER_IOCTL_VLAN_SET_ENTRY = ICSSG_PUBLIC_IOCTL(3U),
ICSSG_PER_IOCTL_VLAN_GET_ENTRY = ICSSG_PUBLIC_IOCTL(4U),
ICSSG_PER_IOCTL_SET_PORT_STATE = ICSSG_PUBLIC_IOCTL(5U),
ICSSG_FDB_IOCTL_ADD_ENTRY = ICSSG_PUBLIC_IOCTL(6U),
ICSSG_FDB_IOCTL_REMOVE_ENTRY = ICSSG_PUBLIC_IOCTL(7U),
ICSSG_FDB_IOCTL_REMOVE_ALL_ENTRIES = ICSSG_PUBLIC_IOCTL(8U),
ICSSG_FDB_IOCTL_REMOVE_AGEABLE_ENTRIES = ICSSG_PUBLIC_IOCTL(9U),
ICSSG_FDB_IOCTL_READ_SLOT_ENTRIES = ICSSG_PUBLIC_IOCTL(10U),
ICSSG_FDB_IOCTL_GET_SLOT_ENTRIES = ICSSG_PUBLIC_IOCTL(11U),
ICSSG_MACPORT_IOCTL_SET_MACADDR = ICSSG_PUBLIC_IOCTL(12U),
ICSSG_HOSTPORT_IOCTL_SET_MACADDR = ICSSG_PUBLIC_IOCTL(13U),
ICSSG_PER_IOCTL_TAS_TRIGGER = ICSSG_PUBLIC_IOCTL(14U),
ICSSG_PER_IOCTL_TAS_ENABLE = ICSSG_PUBLIC_IOCTL(15U),
ICSSG_PER_IOCTL_TAS_DISABLE = ICSSG_PUBLIC_IOCTL(16U),
ICSSG_PER_IOCTL_TAS_RESET = ICSSG_PUBLIC_IOCTL(17U),
ICSSG_PER_IOCTL_VLAN_SET_HOSTPORT_DFLT_VID = ICSSG_PUBLIC_IOCTL(18U),
ICSSG_PER_IOCTL_VLAN_SET_MACPORT_DFLT_VID = ICSSG_PUBLIC_IOCTL(19U),
ICSSG_FDB_IOCTL_SET_AGING_PERIOD = ICSSG_PUBLIC_IOCTL(20U),
ICSSG_MACPORT_IOCTL_ENABLE_UCAST_FLOOD = ICSSG_PUBLIC_IOCTL(21U),
ICSSG_MACPORT_IOCTL_DISABLE_UCAST_FLOOD = ICSSG_PUBLIC_IOCTL(22U),
ICSSG_MACPORT_IOCTL_ENABLE_MCAST_FLOOD = ICSSG_PUBLIC_IOCTL(23U),
ICSSG_MACPORT_IOCTL_DISABLE_MCAST_FLOOD = ICSSG_PUBLIC_IOCTL(24U),
ICSSG_MACPORT_IOCTL_SET_ACCEPT_FRAME_CHECK = ICSSG_PUBLIC_IOCTL(25U),
ICSSG_MACPORT_IOCTL_SET_INGRESS_RATE_LIM = ICSSG_PUBLIC_IOCTL(26U),
ICSSG_MACPORT_IOCTL_SET_QUEUE_CUT_THROUGH_PREEMPT_SELECT = ICSSG_PUBLIC_IOCTL(27U),
ICSSG_MACPORT_IOCTL_CONFIG_SPL_FRAME_PRIO = ICSSG_PUBLIC_IOCTL(28U),
ICSSG_ENABLE_PROTOCOL_SPECIFIC_TAG_IOCTL = ICSSG_PUBLIC_IOCTL(29U),
ICSSG_DISABLE_PROTOCOL_SPECIFIC_TAG_IOCTL = ICSSG_PUBLIC_IOCTL(30U),
ICSSG_INTERNAL_IOCTL_REGISTER_HANDLER = ICSSG_PUBLIC_IOCTL(31U)
} |
| ICSSG IOCTL commands. More...
|
|
enum | Icssg_QueuePreemptMode { ICSSG_QUEUE_PREEMPT_MODE_EXPRESS,
ICSSG_QUEUE_PREEMPT_MODE_PREEMPT
} |
| Queue preemptive mode: express or preemptive. More...
|
|
enum | Icssg_QueueForwardMode { ICSSG_QUEUE_FORWARD_MODE_STOREANDFWD,
ICSSG_QUEUE_FORWARD_MODE_CUTTHROUGH
} |
| Queue forward mode: cut-through or store-and-forward. More...
|
|
enum | Icssg_PortState {
ICSSG_PORT_STATE_DISABLED,
ICSSG_PORT_STATE_BLOCKING,
ICSSG_PORT_STATE_FORWARD,
ICSSG_PORT_STATE_FORWARD_WO_LEARNING,
ICSSG_PORT_STATE_TAS_TRIGGER,
ICSSG_PORT_STATE_TAS_ENABLE,
ICSSG_PORT_STATE_TAS_RESET,
ICSSG_PORT_STATE_TAS_DISABLE
} |
| Port states. More...
|
|
enum | Icssg_AcceptFrameCheck { ICSSG_ACCEPT_ONLY_VLAN_TAGGED,
ICSSG_ACCEPT_ONLY_UNTAGGED_PRIO_TAGGED,
ICSSG_ACCEPT_ALL
} |
| Acceptable frame check criteria. More...
|
|