|  | AM62D FreeRTOS SDK
    11.01.00
    |  | 
 
 
 
Go to the documentation of this file.
   63 #include <priv/core/enet_rm_priv.h> 
   64 #include <drivers/pruicss/g_v0/pruicss.h> 
   76 #define ICSSG_PUBLIC_IOCTL(x)             (ENET_IOCTL_PER_BASE |  \ 
   77                                            ENET_IOCTL_PER_ICSSG | \ 
   81 #define ICSSG_PORT_NUM                    (3U) 
   84 #define ICSSG_MAC_PORT_MAX                (ICSSG_PORT_NUM - 1U) 
   88 #define ICSSG_PER_DUALMAC_PORT_MAX        (1U) 
   91 #define ICSSG_PER_SWITCH_PORT_MAX         (ICSSG_MAC_PORT_MAX) 
   95 #define ICSSG_INSTANCE_NUM                  (3U) 
   97 #define ICSSG_INSTANCE_NUM                  (2U) 
  101 #define ICSSG_MAX_NUM_BUFFER_POOLS          (24U) 
  104 #define ICSSG_DUALMAC_TX_CH_NUM             (ENET_CFG_RM_TX_CH_MAX) 
  107 #define ICSSG_DUALMAC_RX_FLOW_NUM           (ENET_CFG_RM_RX_CH_MAX / 2) 
  110 #define ICSSG_SWITCH_TX_CH_NUM              (ENET_CFG_RM_TX_CH_MAX) 
  113 #define ICSSG_SWITCH_RX_FLOW_NUM            (ENET_CFG_RM_RX_CH_MAX) 
  116 #define ICSSG_DUALMAC_PORT_BUFFER_POOL_NUM  (0U) 
  119 #define ICSSG_DUALMAC_HOST_EGRESS_QUEUE_NUM (2U) 
  123 #define ICSSG_SWITCH_PORT_BUFFER_POOL_NUM   (8U) 
  127 #define ICSSG_SWITCH_PORT_BUFFER_POOL_NUM_MAX   (8U) 
  131 #define ICSSG_SWITCH_HOST_OWN_BUFFER_POOL_MAX_OFFSET   (16U) 
  134 #define ICSSG_SWITCH_HOST_EGRESS_QUEUE_NUM  (2U) 
  137 #define ICSSG_HOST_EGRESS_BUFFER_PADDING    (2048U) 
  140 #define ICSSG_SCRATCH_BUFFER_SIZE           (ENET_UTILS_ALIGN((2048U), ICSSG_CACHELINE_ALIGNMENT)) 
  154 #define ICSSG_FDB_ENTRY_P0_MEMBERSHIP         (ENET_BIT(0U)) 
  161 #define ICSSG_FDB_ENTRY_P1_MEMBERSHIP         (ENET_BIT(1U)) 
  168 #define ICSSG_FDB_ENTRY_P2_MEMBERSHIP         (ENET_BIT(2U)) 
  175 #define ICSSG_FDB_ENTRY_AGEABLE               (ENET_BIT(3U)) 
  183 #define ICSSG_FDB_ENTRY_BLOCK                 (ENET_BIT(4U)) 
  190 #define ICSSG_FDB_ENTRY_SECURE                (ENET_BIT(5U)) 
  198 #define ICSSG_FDB_ENTRY_TOUCHED               (ENET_BIT(6U)) 
  205 #define ICSSG_FDB_ENTRY_VALID                 (ENET_BIT(7U)) 
  211 #define ICSSG_RATE_SRC_SEL_FT1_MATCH0         (0U) 
  212 #define ICSSG_RATE_SRC_SEL_FT1_MATCH1         (1U) 
  213 #define ICSSG_RATE_SRC_SEL_FT1_MATCH2         (2U) 
  214 #define ICSSG_RATE_SRC_SEL_FT1_MATCH3         (3U) 
  215 #define ICSSG_RATE_SRC_SEL_FT1_MATCH4         (4U) 
  216 #define ICSSG_RATE_SRC_SEL_FT1_MATCH5         (5U) 
  217 #define ICSSG_RATE_SRC_SEL_FT1_MATCH6         (6U) 
  218 #define ICSSG_RATE_SRC_SEL_FT1_MATCH7         (7U) 
  219 #define ICSSG_RATE_SRC_SEL_FT3_MATCH0         (8U) 
  220 #define ICSSG_RATE_SRC_SEL_FT3_MATCH1         (9U) 
  221 #define ICSSG_RATE_SRC_SEL_FT3_MATCH2         (10U) 
  222 #define ICSSG_RATE_SRC_SEL_FT3_MATCH3         (11U) 
  223 #define ICSSG_RATE_SRC_SEL_FT3_MATCH4         (12U) 
  224 #define ICSSG_RATE_SRC_SEL_FT3_MATCH5         (13U) 
  225 #define ICSSG_RATE_SRC_SEL_FT3_MATCH6         (14U) 
  226 #define ICSSG_RATE_SRC_SEL_FT3_MATCH7         (15U) 
  227 #define ICSSG_RATE_SRC_SEL_FT3_MATCH8         (16U) 
  228 #define ICSSG_RATE_SRC_SEL_FT3_MATCH9         (17U) 
  229 #define ICSSG_RATE_SRC_SEL_FT3_MATCH10        (18U) 
  230 #define ICSSG_RATE_SRC_SEL_FT3_MATCH11        (19U) 
  231 #define ICSSG_RATE_SRC_SEL_FT3_MATCH12        (20U) 
  232 #define ICSSG_RATE_SRC_SEL_FT3_MATCH13        (21U) 
  233 #define ICSSG_RATE_SRC_SEL_FT3_MATCH14        (22U) 
  234 #define ICSSG_RATE_SRC_SEL_FT3_MATCH15        (23U) 
  235 #define ICSSG_RATE_SRC_SEL_FT_RX_UC           (24U) 
  236 #define ICSSG_RATE_SRC_SEL_FT_RX_MC           (25U) 
  237 #define ICSSG_RATE_SRC_SEL_FT_RX_BC           (26U) 
  238 #define ICSSG_RATE_SRC_SEL_FT_RX_SAV          (27U) 
  239 #define ICSSG_RATE_SRC_SEL_FT_RX_FWD          (28U) 
  240 #define ICSSG_RATE_SRC_SEL_FT_RX_RCV          (29U) 
  241 #define ICSSG_RATE_SRC_SEL_FT_RX_VLAN         (30U) 
  242 #define ICSSG_RATE_SRC_SEL_FT_RX_DA_P         (31U) 
  243 #define ICSSG_RATE_SRC_SEL_FT_RX_DA_I         (32U) 
  244 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW0      (33U) 
  245 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW1      (34U) 
  246 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW2      (35U) 
  247 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW3      (36U) 
  248 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW4      (37U) 
  249 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW5      (38U) 
  250 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW6      (39U) 
  251 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW7      (40U) 
  252 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW8      (41U) 
  253 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW9      (42U) 
  254 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW10     (43U) 
  255 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW11     (44U) 
  256 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW12     (45U) 
  257 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW13     (46U) 
  258 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW14     (47U) 
  259 #define ICSSG_RATE_SRC_SEL_RX_CLASS_RAW15     (48U) 
  262 #define ICCSG_RX_CLASS_DATA_FT3_MATCH0        (0U) 
  263 #define ICCSG_RX_CLASS_DATA_FT3_MATCH1        (1U) 
  264 #define ICCSG_RX_CLASS_DATA_FT3_MATCH2        (2U) 
  265 #define ICCSG_RX_CLASS_DATA_FT3_MATCH3        (3U) 
  266 #define ICCSG_RX_CLASS_DATA_FT3_MATCH4        (4U) 
  267 #define ICCSG_RX_CLASS_DATA_FT3_MATCH5        (5U) 
  268 #define ICCSG_RX_CLASS_DATA_FT3_MATCH6        (6U) 
  269 #define ICCSG_RX_CLASS_DATA_FT3_MATCH7        (7U) 
  270 #define ICCSG_RX_CLASS_DATA_FT3_MATCH8        (8U) 
  271 #define ICCSG_RX_CLASS_DATA_FT3_MATCH9        (9U) 
  272 #define ICCSG_RX_CLASS_DATA_FT3_MATCH10       (10U) 
  273 #define ICCSG_RX_CLASS_DATA_FT3_MATCH11       (11U) 
  274 #define ICCSG_RX_CLASS_DATA_FT3_MATCH12       (12U) 
  275 #define ICCSG_RX_CLASS_DATA_FT3_MATCH13       (13U) 
  276 #define ICCSG_RX_CLASS_DATA_FT3_MATCH14       (14U) 
  277 #define ICCSG_RX_CLASS_DATA_FT3_MATCH15       (15U) 
  278 #define ICCSG_RX_CLASS_DATA_FT1_MATCH0        (16U) 
  279 #define ICCSG_RX_CLASS_DATA_FT1_MATCH1        (17U) 
  280 #define ICCSG_RX_CLASS_DATA_FT1_MATCH2        (18U) 
  281 #define ICCSG_RX_CLASS_DATA_FT1_MATCH3        (19U) 
  282 #define ICCSG_RX_CLASS_DATA_FT1_MATCH4        (20U) 
  283 #define ICCSG_RX_CLASS_DATA_FT1_MATCH5        (21U) 
  284 #define ICCSG_RX_CLASS_DATA_FT1_MATCH6        (22U) 
  285 #define ICCSG_RX_CLASS_DATA_FT1_MATCH7        (23U) 
  286 #define ICCSG_RX_CLASS_DATA_FT_RX_DA_I        (24U) 
  287 #define ICCSG_RX_CLASS_DATA_FT_RX_DA_P        (25U) 
  288 #define ICCSG_RX_CLASS_DATA_FT_RX_VLAN        (26U) 
  289 #define ICCSG_RX_CLASS_DATA_FT_RX_RCV         (27U) 
  290 #define ICCSG_RX_CLASS_DATA_FT_RX_FWD         (28U) 
  291 #define ICCSG_RX_CLASS_DATA_FT_RX_BC          (29U) 
  292 #define ICCSG_RX_CLASS_DATA_FT_RX_MC          (30U) 
  293 #define ICCSG_RX_CLASS_DATA_FT_RX_SAV         (31U) 
  296 #define ICSSG_TAS_MIN_CYCLE_TIME_NS           (1000000) 
  299 #define ICSSG_TAS_MIN_WINDOW_DURATION_NS      (10000) 
  308 typedef enum Icssg_Instance_Num_e
 
  324 typedef struct Icssg_TxTsEvtCbInfo_s
 
  337 typedef enum Icssg_Ioctl_e
 
  697 typedef enum Icssg_QueuePreemptMode_e
 
  709 typedef enum Icssg_QueueForwardMode_e
 
  721 typedef struct IcssgMacPort_SetQueueCtPremptModeInArgs_s
 
  736 typedef struct IcssgMacPort_ConfigSpecialFramePrioInArgs_s
 
  748 typedef enum Icssg_PortState_e
 
  783 typedef struct IcssgMacPort_SetPortStateInArgs_s
 
  795 typedef enum Icssg_AcceptFrameCheck_e
 
  810 typedef struct Icssg_SetAcceptFrameCheckInArgs_s
 
  822 typedef struct Icssg_MacAddr_s
 
  831 typedef struct IcssgMacPort_SetMacAddressInArgs_s
 
  844 typedef struct Icssg_VlanFidParams_s
 
  881 typedef struct Icssg_VlanFidEntry_s
 
  893 typedef struct Icssg_FdbEntry_s
 
  909 typedef struct Icssg_HwFdbEntry_s
 
  924 typedef struct Icssg_FdbEntry_ReadSlotInArgs_s
 
  933 typedef struct Icssg_FdbEntry_GetSlotOutArgs_s
 
  942 typedef struct Icssg_DfltVlanCfg_s
 
  957 typedef struct Icssg_MacPortDfltVlanCfgInArgs_s
 
  970 typedef struct Icssg_IngressRateLim_s
 
 1019 typedef struct Icssg_custom_Fw_s
 
 1046 typedef struct Icssg_FwPoolMem_s
 
 1097 typedef struct Icssg_MdioLinkStateChangeInfo_s
 
 1129 typedef struct Icssg_mdioLinkIntCfg_s
 
 1145 typedef struct Icssg_portLinkIntCfg_s
 
 1157 typedef struct Icssg_Cfg_s
 
 1223 typedef struct IccsgMacPort_Cfg_s
 
  
 
void * mdioLinkStateChangeCbArg
Definition: icssg.h:1135
@ ICSSG_QUEUE_FORWARD_MODE_STOREANDFWD
Definition: icssg.h:712
@ ICSSG_MACPORT_IOCTL_ENABLE_MCAST_FLOOD
Enable flooding of multicast packets to host port.
Definition: icssg.h:598
bool isAlive
Definition: icssg.h:1108
uint8_t type
Definition: icssg.h:985
uint32_t Icssg_getSliceNum(Enet_Type enetType, uint32_t instId, Enet_MacPort macPort)
ICSSG memory pool callback function.
@ ICSSG_MACPORT_IOCTL_DISABLE_MCAST_FLOOD
Disable flooding of multicast packets to host port.
Definition: icssg.h:609
@ ICSSG_QUEUE_FORWARD_MODE_CUTTHROUGH
Definition: icssg.h:715
@ ICSSG_PORT_STATE_TAS_ENABLE
Definition: icssg.h:771
#define ICSSG_MAC_PORT_MAX
Maximum number of MAC ports per ICSSG instance.
Definition: icssg.h:84
@ ICSSG_ACCEPT_ALL
Definition: icssg.h:804
Icssg_portLinkStateChangeCb portLinkStateChangeCb
Definition: icssg.h:1148
IcssgTimeSync_ClkType
ICSSG TimeSync clock types.
Definition: icssg_timesync.h:78
bool aliveChanged
Definition: icssg.h:1104
uint64_t agingPeriod
Definition: icssg.h:1160
Enet_MacPort macPort
Definition: icssg.h:724
uint32_t rtuSize
Definition: icssg.h:1031
uint32_t classDataOrTerm
Definition: icssg.h:982
Input arguments for ICSSG_FDB_IOCTL_READ_SLOT_ENTRIES command.
Definition: icssg.h:925
uint16_t ft1Start
Definition: icssg.h:986
This file contains the type definitions and helper macros for the Enet Data Path (DMA) interface.
uint32_t isPremQueEnable
Definition: icssg.h:1207
@ ICSSG_ACCEPT_ONLY_UNTAGGED_PRIO_TAGGED
Definition: icssg.h:801
uint32_t isPulseIntr
Definition: icssg.h:1140
ICSSG buffer pool memories.
Definition: icssg.h:1047
uint8_t fid_c2
Definition: icssg.h:918
@ ICSSG_FDB_IOCTL_SET_AGING_PERIOD
Set the aging period of the FDB.
Definition: icssg.h:565
Enet_MacPort macPort
Definition: icssg.h:786
@ ICSSG_PER_IOCTL_TAS_TRIGGER
Definition: icssg.h:508
@ ICSSG_PORT_STATE_TAS_TRIGGER
Definition: icssg.h:768
Config structure for Enet UDMA.
Definition: enet_udma.h:803
const uint32_t * rtu
Definition: icssg.h:1028
EnetMacPort_Interface mii
Definition: icssg.h:1181
Enet_MacPort macPort
Definition: icssg.h:834
Icssg TX timestamp event callback info structure. This is passed to application when TX timestamp is ...
Definition: icssg.h:325
VLAN configuration parameters.
Definition: enet_mod_port.h:68
uint32_t start
Definition: icssg.h:997
@ ICSSG_MACPORT_IOCTL_SET_INGRESS_RATE_LIM
Configure ingress rate limiting.
Definition: icssg.h:636
uint8_t * hostBufferPoolMem
Definition: icssg.h:1060
bool mcastFloodEn
Definition: icssg.h:1232
This file contains the type definitions and helper macros for ICSSG Statistics interface.
Icssg_QueueForwardMode
Queue forward mode: cut-through or store-and-forward.
Definition: icssg.h:710
uint32_t pruSize
Definition: icssg.h:1025
@ ICSSG_MACPORT_IOCTL_ENABLE_UCAST_FLOOD
Enable flooding of unicast packets to host port.
Definition: icssg.h:576
@ ICSSG_MACPORT_IOCTL_DISABLE_PROMISC_MODE
Disable promiscuous mode.
Definition: icssg.h:359
bool floodToHost
Definition: icssg.h:875
uint32_t hostEgressPreQueueSize
Definition: icssg.h:1082
uint8_t classIndex
Definition: icssg.h:978
const EnetDma_Cfg * dmaCfg
Definition: icssg.h:1169
uint32_t len
Definition: icssg.h:1001
Icssg_portLinkIntCfg portLinkIntCfg
Definition: icssg.h:1190
bool p1Member
Definition: icssg.h:854
Enet_MacPort
MAC port.
Definition: enet_types.h:412
Mdio_Cfg mdioCfg
Definition: icssg.h:1175
void(* Icssg_portLinkStateChangeCb)(Enet_MacPort macPort, bool isLinkUp, void *appArg)
Definition: icssg.h:1126
@ ICSSG_PER_IOCTL_VLAN_SET_ENTRY
Update a VLAN table entry.
Definition: icssg.h:381
bool hostTagged
Definition: icssg.h:861
MAC address.
Definition: icssg.h:823
@ ICSSG_QUEUE_PREEMPT_MODE_PREEMPT
Definition: icssg.h:703
uint8_t * hostEgressQueueMem
Definition: icssg.h:1070
uint32_t jmpOffset
Definition: icssg.h:1000
HW FDB table entry.
Definition: icssg.h:910
This file contains the type definitions and helper macros for the MDIO module interface.
uint32_t hostBufferPoolSize
Definition: icssg.h:1063
uint32_t typeMask
Definition: icssg.h:1004
Enet_MacPort macPort
Definition: icssg.h:945
Icssg_AcceptFrameCheck acceptFrameCheck
Definition: icssg.h:816
EnetPort_VlanCfg vlanCfg
Definition: icssg.h:1163
@ ICSSG_PER_IOCTL_TAS_ENABLE
Definition: icssg.h:514
This file contains the type definitions and helper macros for the Ethernet PHY interface.
@ ICSSG_FDB_IOCTL_READ_SLOT_ENTRIES
Read the four entries of one FDB slot.
Definition: icssg.h:469
VLAN FID table entry.
Definition: icssg.h:882
Resource manager configuration parameters.
Definition: enet_rm.h:402
@ ICSSG_MACPORT_IOCTL_SET_ACCEPT_FRAME_CHECK
Set the criteria for accepting VLAN tagged/untagged packets.
Definition: icssg.h:625
Output arguments for ICSSG_FDB_IOCTL_GET_SLOT_ENTRIES command.
Definition: icssg.h:934
uint32_t scratchBufferSize
Definition: icssg.h:1091
Icssg_Ioctl
ICSSG IOCTL commands.
Definition: icssg.h:338
Icssg_mdioLinkIntCfg mdioLinkIntCfg
Definition: icssg.h:1187
ICSSG mac port configuration parameters.
Definition: icssg.h:1224
@ ICSSG_PORT_STATE_TAS_RESET
Definition: icssg.h:774
@ ICSSG_PER_IOCTL_TAS_DISABLE
Definition: icssg.h:520
@ ICSSG_PER_IOCTL_VLAN_RESET_TABLE
Populate VLAN table with default VLAN entry configuration.
Definition: icssg.h:370
Input arguments for ICSSG_PER_IOCTL_VLAN_SET_MACPORT_DFLT_VID command.
Definition: icssg.h:958
bool p1Tagged
Definition: icssg.h:865
uint8_t fid
Definition: icssg.h:848
#define ICSSG_PUBLIC_IOCTL(x)
Helper macro to create IOCTL commands for ICSSG per.
Definition: icssg.h:76
uint32_t portBufferPoolNum
Definition: icssg.h:1056
void(* Icssg_MdioLinkStateChangeCb)(Icssg_MdioLinkStateChangeInfo *info, void *appArg)
Icssg PHY link state change callback function.
Definition: icssg.h:1123
EnetPort_VlanCfg vlanCfg
Definition: icssg.h:964
int16_t vlanId
Definition: icssg.h:899
uint32_t rateLimit
Definition: icssg.h:975
@ ICSSG_PORT_STATE_TAS_DISABLE
Definition: icssg.h:777
void * portLinkStateChangeCbArg
Definition: icssg.h:1151
This file contains the type definitions and helper macros for the Ethernet PHY interface.
Icssg_PortState
Port states.
Definition: icssg.h:749
@ ICSSG_INSTANCE_NUM_1
Definition: icssg.h:314
uint32_t destAddrLow
Definition: icssg.h:991
@ ICSSG_PER_IOCTL_VLAN_SET_HOSTPORT_DFLT_VID
Set the default VLAN ID and PCP bits for host port.
Definition: icssg.h:541
Icssg_Instance_Num
ICSSG instance numbers.
Definition: icssg.h:309
MDIO module configuration.
Definition: mdio.h:108
#define ENET_PRI_NUM
Packet priority.
Definition: enet_types.h:165
@ ICSSG_INTERNAL_IOCTL_REGISTER_HANDLER
Register Handler for the IOCTL CMD.
Definition: icssg.h:691
uint8_t notMask
Definition: icssg.h:979
const uint32_t * pru
Definition: icssg.h:1022
@ ICSSG_FDB_IOCTL_REMOVE_ALL_ENTRIES
Delete all FDB entries.
Definition: icssg.h:447
MAC port interface.
Definition: enet_mod_macport.h:442
ICSSG custom firmware.
Definition: icssg.h:1020
@ ICSSG_INSTANCE_NUM_0
Definition: icssg.h:311
Icssg_AcceptFrameCheck acceptFrameCheck
Definition: icssg.h:1235
uint64_t ts
Definition: icssg.h:331
uint8_t * hostEgressPreQueueMem
Definition: icssg.h:1074
Enet_MacPort macPort
Definition: icssg.h:960
uint32_t patternMaskHigh
Definition: icssg.h:1008
bool isLinked
Definition: icssg.h:1114
Input arguments for ICSSG_MACPORT_IOCTL_CONFIG_SPL_FRAME_PRIO command.
Definition: icssg.h:737
Enet_MacPort macPort
Definition: icssg.h:739
uint32_t patternLow
Definition: icssg.h:1005
uint32_t intrPrio
Definition: icssg.h:1141
@ ICSSG_PER_IOCTL_VLAN_GET_ENTRY
Get VLAN entry for VLAN table for requested VLAN id.
Definition: icssg.h:392
@ ICSSG_MACPORT_IOCTL_ENABLE_PROMISC_MODE
Enable promiscuous mode.
Definition: icssg.h:348
bool p2Tagged
Definition: icssg.h:869
VLAN FID entry parameters.
Definition: icssg.h:845
uint8_t specialFramePrio
Definition: icssg.h:742
ICSSG peripheral configuration parameters.
Definition: icssg.h:1158
uint32_t hostEgressQueueNum
Definition: icssg.h:1085
EnetPort_VlanCfg vlanCfg
Definition: icssg.h:1238
@ ICSSG_PORT_STATE_FORWARD
Definition: icssg.h:762
bool disablePhyDriver
Definition: icssg.h:1201
uint8_t fid_c1
Definition: icssg.h:915
Enet_Type
Ethernet peripheral type.
Definition: enet_types.h:202
bool streamVid
Definition: icssg.h:872
@ ICSSG_FDB_IOCTL_GET_SLOT_ENTRIES
Get the four entries of one FDB slot.
Definition: icssg.h:480
Input arguments for ICSSG_MACPORT_IOCTL_SET_INGRESS_RATE_LIM command.
Definition: icssg.h:971
@ ICSSG_FDB_IOCTL_REMOVE_AGEABLE_ENTRIES
Remove all ageable entries.
Definition: icssg.h:458
Default VLAN configuration.
Definition: icssg.h:943
@ ICSSG_INSTANCE_NUM_2
Definition: icssg.h:317
uint16_t ft1Cfg
Definition: icssg.h:988
@ ICSSG_PER_IOCTL_TAS_RESET
Definition: icssg.h:526
@ ICSSG_PER_IOCTL_SET_PORT_STATE
Set port state.
Definition: icssg.h:414
uint32_t hostEgressQueueSize
Definition: icssg.h:1078
Icssg_VlanFidParams vlanFidParams
Definition: icssg.h:887
Icssg_AcceptFrameCheck
Acceptable frame check criteria.
Definition: icssg.h:796
void IcssgMacPort_initCfg(IcssgMacPort_Cfg *macPortCfg)
Initialises Mac Port COnfiguration.
Icssg_PortState portState
Definition: icssg.h:789
@ ICSSG_MACPORT_IOCTL_CONFIG_SPL_FRAME_PRIO
special frame priority configuration.
Definition: icssg.h:658
uint32_t patternMaskLow
Definition: icssg.h:1007
const Icssg_FwPoolMem * EnetCb_GetFwPoolMem(Enet_Type enetType, uint32_t instId)
ICSSG memory pool callback function.
Input args for ICSSG_MACPORT_IOCTL_SET_ACCEPT_FRAME_CHECK command.
Definition: icssg.h:811
TimeSync configuration parameters.
Definition: icssg_timesync.h:93
@ ICSSG_PORT_STATE_DISABLED
Definition: icssg.h:752
EnetRm_ResCfg resCfg
Definition: icssg.h:1172
uint32_t startLen
Definition: icssg.h:999
@ ICSSG_PORT_STATE_FORWARD_WO_LEARNING
Definition: icssg.h:765
bool ucastFloodEn
Definition: icssg.h:1229
uint32_t rateSrcSel
Definition: icssg.h:976
@ ICSSG_ACCEPT_ONLY_VLAN_TAGGED
Definition: icssg.h:798
uint16_t vlanId
Definition: icssg.h:948
uint8_t rateIndex
Definition: icssg.h:977
@ ICSSG_FDB_IOCTL_ADD_ENTRY
Add FDB entry.
Definition: icssg.h:425
uint16_t broadSideSlot
Definition: icssg.h:927
@ ICSSG_MACPORT_IOCTL_DISABLE_UCAST_FLOOD
Disable flooding of unicast packets to host port.
Definition: icssg.h:587
uint8_t * scratchBufferMem
Definition: icssg.h:1088
uint32_t destAddrMaskLow
Definition: icssg.h:993
uint16_t ft1Len
Definition: icssg.h:987
bool linkChanged
Definition: icssg.h:1111
@ ICSSG_MACPORT_IOCTL_SET_QUEUE_CUT_THROUGH_PREEMPT_SELECT
cut through or prempt select configuration.
Definition: icssg.h:647
@ ICSSG_PER_IOCTL_VLAN_SET_MACPORT_DFLT_VID
Set the default VLAN ID and PCP bits for specified MAC port.
Definition: icssg.h:552
uint8_t classSel
Definition: icssg.h:980
uint8_t pcp
Definition: icssg.h:951
@ ICSSG_QUEUE_PREEMPT_MODE_EXPRESS
Definition: icssg.h:700
uint32_t phyAddr
Definition: icssg.h:1100
This file contains the type definitions and helper macros for ICSSG TimeSync.
Input arguments for ICSSG_MACPORT_IOCTL_SET_QUEUE_CUT_THROUGH_PREEMPT_SELECT command.
Definition: icssg.h:722
@ ICSSG_PORT_STATE_BLOCKING
Definition: icssg.h:757
bool promiscEn
Definition: icssg.h:1226
const PRUICSS_IntcInitData * prussIntcInitData
Definition: icssg.h:1137
Icssg_MdioLinkStateChangeCb mdioLinkStateChangeCb
Definition: icssg.h:1132
uint32_t portBufferPoolSize
Definition: icssg.h:1053
IcssgTimeSync_ClkType clockTypeFw
Definition: icssg.h:1210
Input args for ICSSG_MACPORT_IOCTL_SET_PORT_STATE command.
Definition: icssg.h:784
#define ENET_MAC_ADDR_LEN
MAC address length in bytes/octets.
Definition: enet_types.h:153
uint32_t txTsId
Definition: icssg.h:328
@ ICSSG_MACPORT_IOCTL_SET_MACADDR
Add MAC address of the interface.
Definition: icssg.h:491
@ ICSSG_FDB_IOCTL_REMOVE_ENTRY
Delete FDB entry.
Definition: icssg.h:436
const uint32_t * txpru
Definition: icssg.h:1034
uint32_t txpruSize
Definition: icssg.h:1037
uint32_t destAddrMaskHigh
Definition: icssg.h:994
uint32_t patternHigh
Definition: icssg.h:1006
IcssgTimeSync_Cfg timeSyncCfg
Definition: icssg.h:1178
uint16_t vlanId
Definition: icssg.h:884
uint32_t config
Definition: icssg.h:1002
@ ICSSG_HOSTPORT_IOCTL_SET_MACADDR
Add MAC address of the host port interface.
Definition: icssg.h:502
uint32_t cycleTimeNs
Definition: icssg.h:1184
Icssg_QueuePreemptMode
Queue preemptive mode: express or preemptive.
Definition: icssg.h:698
uint8_t * portBufferPoolMem
Definition: icssg.h:1050
Enet_MacPort macPort
Definition: icssg.h:973
bool p2Member
Definition: icssg.h:857
int32_t coreIntrNum
Definition: icssg.h:1138
uint32_t hostBufferPoolNum
Definition: icssg.h:1066
uint32_t destAddrHigh
Definition: icssg.h:992
PHY link status change event information.
Definition: icssg.h:1098
bool hostMember
Definition: icssg.h:851
uint32_t qosLevels
Definition: icssg.h:1204
@ ICSSG_ENABLE_PROTOCOL_SPECIFIC_TAG_IOCTL
Enable HSR Tag Removal Offload.
Definition: icssg.h:669
FDB entry configuration.
Definition: icssg.h:894
uint8_t index
Definition: icssg.h:984
uint32_t classDataAndTerm
Definition: icssg.h:981
uint32_t startAuto
Definition: icssg.h:998
uint32_t type
Definition: icssg.h:1003
Input args for ICSSG_MACPORT_IOCTL_SET_MACADDR command.
Definition: icssg.h:832
uint8_t specialFramePrio
Definition: icssg.h:1246
Enet_MacPort macPort
Definition: icssg.h:813
@ ICSSG_DISABLE_PROTOCOL_SPECIFIC_TAG_IOCTL
Disable HSR Tag Removal Offload.
Definition: icssg.h:680