![]() |
MCUXpresso SDK API Reference Manual
Rev 2.16.000
NXP Semiconductors
|
Group for API/Data structure of Tables. It supports NTMP 1.0 and NTMP 2.0 but it is transparent to the invoker.
Data Structures | |
union | netc_cmd_bd_t |
The Switch/SI command BD data structure. More... | |
struct | netc_cmd_bdr_config_t |
Configuration for the Switch/SI command BD Ring Configuration. More... | |
struct | netc_cmd_bdr_t |
The Switch/SI command BD ring handle data structure. More... | |
struct | netc_tb_common_header_t |
Table request data buffer common header. More... | |
struct | netc_tb_ipf_keye_t |
Ingress Port Filter key element. More... | |
struct | netc_tb_ipf_cfge_t |
Ingress port filter config element. More... | |
struct | netc_tb_ipf_stse_t |
Ingress port filter statistic element. More... | |
struct | netc_tb_ipf_req_data_t |
Ingress port filter table entry config. More... | |
struct | netc_tb_ipf_rsp_data_t |
Ingress port filter table response data. More... | |
struct | netc_tb_ipf_data_t |
Ingress Port filter table data buffer. More... | |
struct | netc_tb_ipf_config_t |
Ingress Port filter entry config. More... | |
struct | netc_tb_isi_keye_t |
Stream identification table key element. More... | |
struct | netc_tb_isi_cfge_t |
Stream identification table config element. More... | |
struct | netc_tb_isi_req_data_t |
Stream identification table request data buffer. More... | |
struct | netc_tb_isi_rsp_data_t |
Stream identification table request response data buffer. More... | |
struct | netc_tb_isi_data_t |
Stream identification table data buffer. More... | |
struct | netc_tb_isi_config_t |
Stream identification table entry config. More... | |
struct | netc_tb_is_cfge_t |
Ingress Stream table config element. More... | |
struct | netc_tb_is_req_data_t |
Ingress Stream table request data buffer. More... | |
struct | netc_tb_is_rsp_data_t |
Ingress Stream table request response data buffer. More... | |
struct | netc_tb_is_data_t |
Ingress Stream table data buffer. More... | |
struct | netc_tb_is_config_t |
Ingress Stream table entry config. More... | |
struct | netc_tb_isf_keye_t |
Ingress Stream Filter table key element. More... | |
struct | netc_tb_isf_cfge_t |
Ingress Stream Filter table config element. More... | |
struct | netc_tb_isf_req_data_t |
Ingress Stream Filter table request data buffer. More... | |
struct | netc_tb_isf_rsp_data_t |
Ingress Stream Filter table request response data buffer. More... | |
struct | netc_tb_isf_data_t |
Ingress Stream Filter table data buffer. More... | |
struct | netc_tb_isf_config_t |
Ingress Stream Filter table entry config. More... | |
struct | netc_tb_rp_cfge_t |
Rate Policer table config element. More... | |
struct | netc_tb_rp_fee_t |
Rate Policer table Function Enable element. More... | |
struct | netc_tb_rp_pse_t |
Rate Policer table Policer State element. More... | |
struct | netc_tb_rp_stse_t |
Rate Policer table statistic element. More... | |
struct | netc_tb_rp_req_data_t |
Rate Policer table request data buffer. More... | |
struct | netc_tb_rp_rsp_data_t |
Rate Policer table request response data buffer. More... | |
struct | netc_tb_rp_data_t |
Rate Policer table data buffer. More... | |
struct | netc_tb_rp_config_t |
Rate Policer table entry config. More... | |
struct | netc_tb_isc_stse_t |
Ingress Stream Count table statistic element. More... | |
struct | netc_tb_isc_req_data_t |
Ingress Stream Count table request data buffer. More... | |
struct | netc_tb_isc_rsp_data_t |
Ingress Stream Count table request response data buffer. More... | |
struct | netc_tb_isc_data_t |
Ingress Stream Count table data buffer. More... | |
struct | netc_tb_sgi_cfge_t |
Stream Gate Instance table config element. More... | |
struct | netc_tb_sgi_acfge_t |
Stream Gate Instance table Admin Configuration element. More... | |
struct | netc_tb_sgi_icfge_t |
Stream Gate Instance table Initial Configuration element. More... | |
struct | netc_tb_sgi_sgise_t |
Stream Gate Instance table stream gate instance state element. More... | |
struct | netc_tb_sgi_req_data_t |
Stream Gate Instance table request data buffer. More... | |
struct | netc_tb_sgi_rsp_data_t |
Stream Gate Instance table request response data buffer. More... | |
struct | netc_tb_sgi_data_t |
Stream Gate Instance table data buffer. More... | |
struct | netc_tb_sgi_config_t |
Stream Gate Instance table entry config. More... | |
struct | netc_sgcl_gate_entry_t |
Defines the Stream Gate Control entry structure. More... | |
struct | netc_tb_sgcl_cfge_t |
Stream Gate Control List table config element. More... | |
struct | netc_tb_sgcl_sgclse_t |
Stream Gate Control List table Stream Gate Control List State element. More... | |
struct | netc_tb_sgcl_req_data_t |
Stream Gate Control List table request data buffer. More... | |
struct | netc_tb_sgcl_rsp_data_t |
Stream Gate Control List table request response data buffer. More... | |
struct | netc_tb_sgcl_data_t |
Stream Gate Control List table data buffer. More... | |
struct | netc_tb_sgcl_gcl_t |
Stream Gate Control List table entry gate control list structure. More... | |
struct | netc_tb_fm_cfge_t |
Frame Modification table config element. More... | |
struct | netc_tb_fm_req_data_t |
Frame Modification table request data buffer. More... | |
struct | netc_tb_fm_rsp_data_t |
Frame Modification table request response data buffer. More... | |
struct | netc_tb_fm_data_t |
Frame Modification table data buffer. More... | |
struct | netc_tb_fm_config_t |
Frame Modification table entry config. More... | |
struct | netc_tb_fmd_req_data_t |
Frame Modification Data table request data buffer. More... | |
struct | netc_tb_fmd_rsp_data_t |
Frame Modification Data table request response data buffer. More... | |
struct | netc_tb_fmd_data_t |
Frame Modification Data table data buffer. More... | |
struct | netc_tb_fmd_update_config_t |
Frame Modification data table entry update config. More... | |
struct | netc_tb_fmd_query_buffer_t |
Frame Modification data table entry query data buffer. More... | |
struct | netc_tb_vf_keye_t |
Vlan Filter table key element. More... | |
struct | netc_tb_vf_cfge_t |
Vlan Filter table config element. More... | |
struct | netc_tb_vf_search_criteria_t |
Vlan Filter table search criteria format. More... | |
struct | netc_tb_vf_req_data_t |
Vlan Filter table request data buffer. More... | |
struct | netc_tb_vf_rsp_data_t |
Vlan Filter table request response data buffer. More... | |
struct | netc_tb_vf_data_t |
Vlan Filter table data buffer. More... | |
struct | netc_tb_vf_config_t |
Vlan Filter table entry config. More... | |
struct | netc_tb_fdb_cfge_t |
FDB table configuration element. More... | |
struct | netc_tb_fdb_acte_t |
FDB table Activity element. More... | |
struct | netc_tb_fdb_search_criteria_t |
FDB table search criteria format. More... | |
struct | netc_tb_fdb_req_data_t |
FDB table request data buffer. More... | |
struct | netc_tb_fdb_rsp_data_t |
FDB table request response data buffer. More... | |
struct | netc_tb_fdb_data_t |
FDB table data buffer. More... | |
struct | netc_tb_fdb_config_t |
FDB table entry config. More... | |
struct | netc_tb_l2mcf_keye_t |
L2 IPV4 Multicast Filter table key element. More... | |
struct | netc_tb_l2mcf_search_criteria_t |
L2 IPV4 Multicast Filter table search criteria format. More... | |
struct | netc_tb_l2mcf_req_data_t |
L2 IPV4 Multicast Filter table request data buffer. More... | |
struct | netc_tb_l2mcf_rsp_data_t |
L2 IPV4 Multicast Filter table request response data buffer. More... | |
struct | netc_tb_l2mcf_data_t |
L2 IPV4 Multicast Filter table data buffer. More... | |
struct | netc_tb_l2mcf_config_t |
L2 IPV4 Multicast Filter table entry config. More... | |
struct | netc_tb_iseqg_cfge_t |
Ingress Sequence Generation table config element. More... | |
struct | netc_tb_iseqg_sgse_t |
Ingress Sequence Generation table Sequence generation state element. More... | |
struct | netc_tb_iseqg_req_data_t |
Ingress Sequence Generation table request data buffer. More... | |
struct | netc_tb_iseqg_rsp_data_t |
Ingress Sequence Generation table request response data buffer. More... | |
struct | netc_tb_iseqg_data_t |
Ingress Sequence Generation table data buffer. More... | |
struct | netc_tb_iseqg_config_t |
Ingress Sequence Generation table entry config. More... | |
struct | netc_tb_eseqr_cfge_t |
Egress Sequence Recovery table config element. More... | |
struct | netc_tb_eseqr_stse_t |
Egress Sequence Recovery table statistic element. More... | |
struct | netc_tb_eseqr_srse_t |
Egress Sequence Recovery table sequence recovery state element. More... | |
struct | netc_tb_eseqr_req_data_t |
Egress Sequence Recovery table request data buffer. More... | |
struct | netc_tb_eseqr_rsp_data_t |
Egress Sequence Recovery table request response data buffer. More... | |
struct | netc_tb_eseqr_data_t |
Egress Sequence Recovery table data buffer. More... | |
struct | netc_tb_eseqr_config_t |
Egress Sequence Recovery table entry config. More... | |
struct | netc_tgs_gate_entry_t |
Defines the Time Gate Scheduling gate control entry structure. More... | |
struct | netc_tb_tgs_cfge_t |
Time Gate Scheduling table config element. More... | |
struct | netc_tb_tgs_olse_t |
Time Gate Scheduling table statistic element. More... | |
struct | netc_tb_tgs_req_data_t |
Time Gate Scheduling table request data buffer. More... | |
struct | netc_tb_tgs_rsp_data_t |
Time Gate Scheduling table request response data buffer. More... | |
struct | netc_tb_tgs_data_t |
Time Gate Scheduling table data buffer, set with max size. More... | |
struct | netc_tb_tgs_gcl_t |
Time Gate Scheduling table entry gate control list structure. More... | |
struct | netc_tb_et_cfge_t |
Egress Treatment table config element. More... | |
struct | netc_tb_et_req_data_t |
Egress Treatment table request data buffer. More... | |
struct | netc_tb_et_rsp_data_t |
Egress Treatment table request response data buffer. More... | |
struct | netc_tb_et_data_t |
Egress Treatment table data buffer. More... | |
struct | netc_tb_et_config_t |
Egress Treatment table entry config. More... | |
struct | netc_tb_etmcq_cfge_t |
ETM Class Queue table config element. More... | |
struct | netc_tb_etmcq_stse_t |
ETM Class Queue table statistic element. More... | |
struct | netc_tb_etmcq_req_data_t |
ETM Class Queue table request data buffer. More... | |
struct | netc_tb_etmcq_rsp_data_t |
ETM Class Queue table request response data buffer. More... | |
struct | netc_tb_etmcq_data_t |
ETM Class Queue table data buffer. More... | |
struct | netc_tb_etmcq_config_t |
ETM Class Queue table entry config. More... | |
struct | netc_tb_etmcs_cfge_t |
ETM Class Scheduler table config element. More... | |
struct | netc_tb_etmcs_req_data_t |
ETM Class Scheduler table request data buffer. More... | |
struct | netc_tb_etmcs_rsp_data_t |
ETM Class Scheduler table request response data buffer. More... | |
struct | netc_tb_etmcs_data_t |
ETM Class Scheduler table data buffer. More... | |
struct | netc_tb_etmcs_config_t |
ETM Class Scheduler table entry config. More... | |
struct | netc_tb_etmcg_cfge_t |
ETM Congestion Group table config element. More... | |
struct | netc_tb_etmcg_stse_t |
ETM Congestion Group table statistic element. More... | |
struct | netc_tb_etmcg_req_data_t |
ETM Congestion Group table request data buffer. More... | |
struct | netc_tb_etmcg_rsp_data_t |
ETM Congestion Group table request response data buffer. More... | |
struct | netc_tb_etmcg_data_t |
ETM Congestion Group table data buffer. More... | |
struct | netc_tb_etmcg_config_t |
ETM Congestion Group table entry config. More... | |
struct | netc_tb_ec_stse_t |
Egress Count table statistic element. More... | |
struct | netc_tb_ec_req_data_t |
Egress Count table request data buffer. More... | |
struct | netc_tb_ec_rsp_data_t |
Egress Count table request response data buffer. More... | |
struct | netc_tb_ec_data_t |
Egress Count table data buffer. More... | |
struct | netc_tb_bp_cfge_t |
Buffer Pool table config element. More... | |
struct | netc_tb_bp_bpse_t |
Buffer Pool table State Element Data. More... | |
struct | netc_tb_bp_req_data_t |
Buffer Pool table request data buffer. More... | |
struct | netc_tb_bp_rsp_data_t |
Buffer Pool table request response data buffer. More... | |
struct | netc_tb_bp_data_t |
Buffer Pool table data buffer. More... | |
struct | netc_tb_bp_config_t |
Buffer Pool table entry config. More... | |
struct | netc_tb_sbp_cfge_t |
Shared Buffer Pool table config element. More... | |
struct | netc_tb_sbp_sbpse_t |
Shared Buffer Pool table State Element Data. More... | |
struct | netc_tb_sbp_req_data_t |
Shared Buffer Pool table request data buffer. More... | |
struct | netc_tb_sbp_rsp_data_t |
Shared Buffer Pool table request response data buffer. More... | |
struct | netc_tb_sbp_data_t |
Shared Buffer Pool table data buffer. More... | |
struct | netc_tb_sbp_config_t |
Shared Buffer Pool table entry config. More... | |
union | netc_tb_data_buffer_t |
Table common data buffer. More... | |
struct | netc_cbdr_hw_t |
Register group for SI/Switch command bd ring. More... | |
struct | netc_cbdr_handle_t |
Handle for common part of EP/Switch NTMP. More... | |
Macros | |
#define | NETC_FD_EID_ENCODE_OPTION_0(entryId) ((uint32_t)(entryId)&0xFFFU) |
Frame Modification Entry ID encode options. More... | |
#define | NETC_ISI_VLAN_FRAME_KEY(valid, pcp, vid) (((uint16_t)((valid)&0x1) << 15U) | ((uint16_t)((pcp)&0x3) << 12U) | ((uint16_t)(vid)&0xFFFU)) |
2 Bytes VLAN field which may added to the frame Key | |
#define | NETC_TB_SGCL_MAX_ENTRY (0x100U) |
Stream Gate Control List Table maximum gate control list length. | |
#define | NETC_TB_FMD_UPDATE_CONFIG_LENGTH(x) (8U + (x)) |
TFrame Modification Data table update config Data Buffer length, x is the number of update data bytes. | |
#define | NETC_TB_TGS_MAX_ENTRY (0x100U) |
Time Gate Scheduling Table maximum gate control list length (TGSTCAPR[MAX_GCL_LEN]) | |
#define | NETC_TB_ETM_CQ_ENTRY_ID(portID, cqID) (((uint32_t)(portID) << 4U) | ((cqID)&0x7U)) |
ETM Class Queue table entry ID macro, cqID is represents the Class Queue ID ,rang in 0 ~ 7, portID is Switch ID, rang in 0 ~ 4. | |
#define | NETC_TB_ETM_CG_ENTRY_ID(portID, cgID) (((uint32_t)(portID) << 4U) | ((cgID)&0x7U)) |
ETM Congestion Group table entry ID macro, cgID is represents the Congestion Group ID ,rang in 0 ~ 7, portID is Switch ID, rang in 0 ~ 4. | |
#define | NETC_TB_BP_THRESH(mant, exp) (((uint32_t)((mant)&0xFF) << 4U) | ((exp)&0xF)) |
Buffer pool and shared buffer pool threshold macro, the threshold = MANT*2^EXP, uint is internal memory words (avergae of 20 bytes each) | |
Typedefs | |
typedef netc_tb_eteid_access_mode_t | netc_tb_is_oeteid_mode_t |
Ingress Stream table Override ET_EID mode. | |
typedef netc_tc_sdu_type_t | netc_tb_rp_sdu_type_t |
Rate Policer Table Protocol/Service Data Unit Type. | |
typedef netc_tc_sdu_type_t | netc_tb_sgi_sdu_type_t |
Stream Gate Instance table Protocol/Service Data Unit Type. | |
typedef netc_fm_sqt_act_t | netc_tb_fm_sqt_act_t |
Frame Modification table Sequence Tag Action. More... | |
typedef netc_tb_eteid_access_mode_t | netc_tb_fdb_oeteid_mode_t |
FDB table entry defined the egress packet processing actions (will cover the actions which specified in the Egress Treatment table ) | |
typedef netc_tb_fdb_cfge_t | netc_tb_l2mcf_cfge_t |
L2 IPV4 Multicast Filter table config element. | |
typedef netc_tb_fdb_acte_t | netc_tb_l2mcf_acte_t |
L2 IPV4 Multicast Filter table activity lement. | |
Functions | |
status_t | NETC_CmdBDRInit (netc_cbdr_hw_t *base, const netc_cmd_bdr_config_t *config) |
Initialize the command BD ring. More... | |
status_t | NETC_CmdBDRDeinit (netc_cbdr_hw_t *base) |
Deinitialize the command BD ring. More... | |
status_t | NETC_CmdBDSendCommand (netc_cbdr_hw_t *base, netc_cmd_bdr_t *cbdr, netc_cmd_bd_t *cbd, netc_cbd_version_t version) |
Send the Command Buffer Descriptor to operate on a NTMP table. More... | |
status_t | NETC_AddIPFTableEntry (netc_cbdr_handle_t *handle, netc_tb_ipf_config_t *config, uint32_t *entryID) |
Add entry into the ingress Port Filter Table. More... | |
status_t | NETC_UpdateIPFTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_ipf_cfge_t *cfg) |
Update entry in the ingress Port Filter Table. More... | |
status_t | NETC_QueryIPFTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_ipf_config_t *config) |
Query entry in the ingress Port Filter Table. More... | |
status_t | NETC_DelIPFTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete an entry in the ingress Port Filter Table. More... | |
status_t | NETC_ResetIPFMatchCounter (netc_cbdr_handle_t *handle, uint32_t entryID) |
Reset the counter of an ingress port filter Table entry. More... | |
status_t | NETC_GetIPFMatchedCount (netc_cbdr_handle_t *handle, uint32_t entryID, uint64_t *count) |
Get the matched count of an ingress port filter Table entry. More... | |
status_t | NETC_AddISITableEntry (netc_cbdr_handle_t *handle, netc_tb_isi_config_t *config, uint32_t *entryID) |
Add entry into Ingress Stream Identification table. More... | |
status_t | NETC_DelISITableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete an entry in Ingress stream identification table. More... | |
status_t | NETC_QueryISITableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_isi_config_t *config) |
Query Ingress Stream Identification table. More... | |
status_t | NETC_QueryISITableEntryWithKey (netc_cbdr_handle_t *handle, netc_tb_isi_keye_t *keye, netc_tb_isi_rsp_data_t *rsp) |
Query Ingress Stream Identification table with key. More... | |
status_t | NETC_AddOrUpdateISTableEntry (netc_cbdr_handle_t *handle, netc_tb_is_config_t *config, bool isAdd) |
Add or update entry in Ingress Stream table. More... | |
status_t | NETC_QueryISTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_is_config_t *config) |
Query Ingress Stream table. More... | |
status_t | NETC_DelISTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete an entry in Ingress stream table. More... | |
status_t | NETC_AddISFTableEntry (netc_cbdr_handle_t *handle, netc_tb_isf_config_t *config, uint32_t *entryID) |
Add entry into ingress stream filter table. More... | |
status_t | NETC_UpdateISFTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_isf_cfge_t *cfg) |
Update entry into ingress stream filter table. More... | |
status_t | NETC_DelISFTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete an entry in Ingress stream filter table. More... | |
status_t | NETC_QueryISFTableEntry (netc_cbdr_handle_t *handle, netc_tb_isf_keye_t *keye, netc_tb_isf_rsp_data_t *rsp) |
Query entry from the Ingress stream filter table. More... | |
status_t | NETC_AddISCTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Add entry in ingress stream count table. More... | |
status_t | NETC_GetISCStatistic (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_isc_stse_t *statistic) |
Get ingress stream count statistic. More... | |
status_t | NETC_ResetISCStatistic (netc_cbdr_handle_t *handle, uint32_t entryID) |
Reset the count of the ingress stream count. More... | |
status_t | NETC_AddOrUpdateSGITableEntry (netc_cbdr_handle_t *handle, netc_tb_sgi_config_t *config, bool isAdd) |
Add or update entry in stream gate instance table. More... | |
status_t | NETC_DelSGITableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete entry in the stream gate instance table. More... | |
status_t | NETC_GetSGIState (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_sgi_sgise_t *statis) |
Get statistic of specified stream gate instance table entry. More... | |
status_t | NETC_QuerySGITableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_sgi_rsp_data_t *rsp) |
Query entry from the stream gate instance table. More... | |
status_t | NETC_AddSGCLTableEntry (netc_cbdr_handle_t *handle, netc_tb_sgcl_gcl_t *config) |
Add entry into Stream Gate Control List Table. More... | |
status_t | NETC_DelSGCLTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete entry of Stream Gate Control List Table. More... | |
status_t | NETC_GetSGCLGateList (netc_cbdr_handle_t *handle, netc_tb_sgcl_gcl_t *gcl, uint32_t length) |
Get Stream Gate Control List Table entry gate control list. More... | |
status_t | NETC_GetSGCLState (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_sgcl_sgclse_t *state) |
Get state (ref count) for Stream Gate Control List table entry. More... | |
status_t | NETC_QueryRPTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_rp_rsp_data_t *rsp) |
Query entry from the Rate Policer table. More... | |
status_t | NETC_AddOrUpdateRPTableEntry (netc_cbdr_handle_t *handle, netc_tb_rp_config_t *config, netc_tb_cmd_t cmd) |
Add or update entry in Rate Policer table. More... | |
status_t | NETC_DelRPTableEntry (netc_cbdr_handle_t *handle, uint32_t entryID) |
Delete entry in the Rate Policer table. More... | |
status_t | NETC_GetRPStatistic (netc_cbdr_handle_t *handle, uint32_t entryID, netc_tb_rp_stse_t *statis) |
Get statistic of specified Rate Policer table entry. More... | |
status_t | NETC_ConfigTGSAdminList (netc_cbdr_handle_t *handle, netc_tb_tgs_gcl_t *config) |
Config the QBV (Time Gate Scheduling) More... | |
status_t | NETC_GetTGSOperationList (netc_cbdr_handle_t *handle, netc_tb_tgs_gcl_t *gcl, uint32_t length) |
Get time gate table operation list. More... | |
union netc_cmd_bd_t |
uint64_t netc_cmd_bd_t::addr |
Data.
netc_tb_cmd_t netc_cmd_bd_t::cmd |
netc_tb_access_mode_t netc_cmd_bd_t::accessType |
uint32_t netc_cmd_bd_t::__pad1__ |
uint32_t netc_cmd_bd_t::version |
uint32_t netc_cmd_bd_t::enCompInt |
uint32_t netc_cmd_bd_t::resReady |
uint32_t netc_cmd_bd_t::npf |
uint32_t netc_cmd_bd_t::numMatched |
uint32_t netc_cmd_bd_t::error |
uint32_t netc_cmd_bd_t::en |
uint32_t netc_cmd_bd_t::siBitMap |
uint32_t netc_cmd_bd_t::index |
uint32_t netc_cmd_bd_t::cmd |
uint32_t netc_cmd_bd_t::__pad2__ |
uint32_t netc_cmd_bd_t::status |
uint32_t netc_cmd_bd_t::ci |
uint32_t netc_cmd_bd_t::sf |
struct netc_cmd_bdr_config_t |
Data Fields | |
netc_cmd_bd_t * | bdBase |
BDR base address which shall be 128 bytes aligned. | |
uint16_t | bdLength |
Size of BD ring which shall be multiple of 8 BD. | |
bool | enCompInt |
Enable/Disable command BD completion interrupt. | |
struct netc_cmd_bdr_t |
Data Fields | |
netc_cmd_bd_t * | bdBase |
BDR base address which shall be 128 bytes aligned. | |
uint16_t | bdLength |
Size of BD ring. | |
uint16_t | producerIndex |
Current index for execution. More... | |
uint16_t | cleanIndex |
Current index for cleaning. More... | |
bool | bdrEnable |
Current command BD ring is enable or not. More... | |
uint16_t netc_cmd_bdr_t::producerIndex |
uint16_t netc_cmd_bdr_t::cleanIndex |
bool netc_cmd_bdr_t::bdrEnable |
struct netc_tb_common_header_t |
Data Fields | |
uint32_t | updateActions: 16 |
Update Actions. | |
uint32_t | queryActions: 4 |
Query Actions. | |
struct netc_tb_ipf_keye_t |
Data Fields | |
uint16_t | precedence |
Precedence value of an entry. | |
struct { | |
uint16_t swtPortMas: 1 | |
Switch port masquerading, applicable only if the incoming port is designated as a switch management port. | |
uint16_t ethernet: 1 | |
Ethernet type Present. | |
uint16_t outerVlan: 1 | |
Outer VLAN Present. | |
uint16_t innerVlan: 1 | |
Inner VLAN Present. | |
netc_tb_ipf_seq_tag_t seqTag: 3 | |
Sequence Tag Code. | |
uint16_t ipHeader: 1 | |
IP Header Present. | |
uint16_t ipVersion: 1 | |
0b = IPv4, 1b = IPv6 | |
uint16_t ipExt: 1 | |
IPv4 option / IPv6 extension present. | |
netc_tb_ipf_l4_header_t l4Header: 2 | |
L4 Header code. | |
uint16_t wakeOnLan: 1 | |
Wake-on-LAN Magic Packet Present. | |
} | frameAttr |
Frame Attribute flags. | |
uint16_t | frameAttrMask |
Frame attribute mask, set with OR of netc_tb_ipf_attr_mask_t. | |
uint16_t | dscp: 6 |
Differentiated Services Code Point. | |
uint16_t | dscpMask: 6 |
Differentiated Services Code Point Mask. | |
uint16_t | srcPort: 5 |
Source Port ID. | |
uint16_t | srcPortMask: 5 |
Source Port ID Mask. | |
uint16_t | outerVlanTCI |
Outer VLAN Tag Control Information. | |
uint16_t | outerVlanTCIMask |
Outer VLAN Tag Control Information Mask. | |
uint8_t | dmac [6] |
Destination MAC Address. | |
uint8_t | dmacMask [6] |
Destination MAC Address Mask. | |
uint8_t | smac [6] |
Source MAC Address. | |
uint8_t | smacMask [6] |
Source MAC Address Mask. | |
uint16_t | innerVlanTCI |
Inner VLAN Tag Control Information. | |
uint16_t | innerVlanTCIMask |
Inner VLAN Tag Control Information Mask. | |
uint16_t | etherType |
2-byte EtherType | |
uint16_t | etherTypeMask |
EtherType Mask. | |
uint8_t | IPProtocol |
IP Protocol. | |
uint8_t | IPProtocolMask |
IP Protocol Mask. | |
uint8_t | srcIPAddr [16] |
IP Source Address, Bits 127-0: IPv6 source address, Bits 127-96: IPv4 source address. | |
uint8_t | srcIPAddrMask [16] |
IP Source Address Mask. | |
uint16_t | l4SrcPort |
L4 Source Port. | |
uint16_t | l4SrcPortMask |
L4 Source Port Mask. | |
uint8_t | destIPAddr [16] |
IP Destination Address, Bits 127-0: IPv6 source address, Bits 127-96: IPv4 source address. | |
uint8_t | destIPAddrMask [16] |
IP Destination Address Mask. | |
uint16_t | l4DestPort |
L4 Destination Port. | |
uint16_t | l4DestPortMask |
L4 Destination Port Mask. | |
uint8_t | data |
Payload Byte n. | |
uint8_t | mask |
Payload Byte n Mask. | |
struct netc_tb_ipf_cfge_t |
Data Fields | |
uint32_t | ipv: 4 |
Internal Priority Value. | |
uint32_t | oipv: 1 |
Overwrite IPV. | |
uint32_t | dr: 2 |
Drop Resilience. | |
uint32_t | odr: 1 |
Overwrite DR. | |
netc_tb_ipf_forward_action_t | fltfa: 2 |
Filter Forwarding action. More... | |
uint32_t | imire: 1 |
Ingress Mirroring Enable. | |
uint32_t | wolte: 1 |
Wake-onLAN trigger enable. | |
netc_tb_ipf_filter_action_t | flta: 2 |
FIlter Action. More... | |
uint32_t | rpr: 2 |
Relative Precedent Resolution. | |
uint32_t | ctd: 1 |
Cut through disable. More... | |
netc_host_reason_t | hr: 4 |
Host Reason metadata when frame is redirected/copied to the switch management port. | |
uint32_t | timecape: 1 |
Timestam capture enable. | |
uint32_t | fltaTgt |
Target for selected switch forwarding action or filter action. | |
netc_tb_ipf_forward_action_t netc_tb_ipf_cfge_t::fltfa |
netc_tb_ipf_filter_action_t netc_tb_ipf_cfge_t::flta |
uint32_t netc_tb_ipf_cfge_t::ctd |
struct netc_tb_ipf_stse_t |
Data Fields | |
uint32_t | matchCount [2] |
A count of how many times this entry has been matched. More... | |
uint32_t netc_tb_ipf_stse_t::matchCount[2] |
struct netc_tb_ipf_req_data_t |
struct netc_tb_ipf_rsp_data_t |
Data Fields | |
uint32_t | entryID |
Present only for commands which perform a query. | |
netc_tb_ipf_keye_t | keye |
Present only for commands which perform a query. | |
netc_tb_ipf_stse_t | stse |
Present only for commands which perform a query. | |
netc_tb_ipf_cfge_t | cfge |
Present only for commands which perform a query. | |
struct netc_tb_ipf_data_t |
struct netc_tb_ipf_config_t |
struct netc_tb_isi_keye_t |
Data Fields | |
netc_tb_isi_key_type | keyType: 2 |
Define the key type used for the current isi entry. | |
uint8_t | srcPortID: 5 |
Source Port ID, used when kc portp filed is 1. More... | |
uint8_t | spm: 1 |
Source Port Masquerading, used when kc spm filed is 1. More... | |
uint8_t | framekey [16] |
Frame portion of the key. More... | |
uint8_t netc_tb_isi_keye_t::srcPortID |
Only for SWITCH
uint8_t netc_tb_isi_keye_t::spm |
Only for SWITCH
uint8_t netc_tb_isi_keye_t::framekey[16] |
struct netc_tb_isi_cfge_t |
Data Fields | |
uint32_t | iSEID |
Ingress stream entry ID, 0xFFFFFFFF means NULL. | |
struct netc_tb_isi_req_data_t |
struct netc_tb_isi_rsp_data_t |
Data Fields | |
uint32_t | entryID |
Only present for query command. | |
netc_tb_isi_keye_t | keye |
Only present for query command. | |
netc_tb_isi_cfge_t | cfge |
Only present for query command. | |
struct netc_tb_isi_data_t |
struct netc_tb_isi_config_t |
struct netc_tb_is_cfge_t |
Data Fields | |
uint32_t | sfe: 1 |
Stream Filtering Enable. | |
uint32_t | ipv: 4 |
Internal Priority Value, active when opiv is set to 1. | |
uint32_t | oipv: 1 |
Override internal priority value. | |
uint32_t | dr: 2 |
Drop Resilience, active when odr is set to 1. | |
uint32_t | odr: 1 |
Overwrite DR. | |
uint32_t | imire: 1 |
Ingress Mirroring Enable, not applicable to ENETC. | |
uint32_t | timecape: 1 |
Timestamp Capture Enable, not applicable to ENETC. | |
uint32_t | sppd: 1 |
Source Port Pruning Disable, not applicable to ENETC. | |
netc_tb_is_isq_action_t | isqa: 2 |
Ingress Sequence Action, not applicable to ENETC. | |
uint32_t | orp: 1 |
Override Rate Policer ID. | |
uint32_t | osgi: 1 |
Override stream gate instance entry id (default is NULL) | |
netc_host_reason_t | hr: 4 |
Host Reason when frame is redirected (fa = 01b) to the switch management port or copied to the switch management port (fa = 100b or 101b), value specified has to be a software defined Host Reason (8-15). More... | |
netc_tb_is_forward_action_t | fa: 3 |
Forwad Option. | |
netc_tc_sdu_type_t | sduType: 2 |
Service Data Unit Type to user for MSDU. | |
uint32_t | msdu: 16 |
Maximum Service Data Unit. | |
uint32_t | ifmeLenChange: 7 |
Ingress Frame Modification Entry Frame Length Change, specified in unit of bytes using a 2's complement notation. | |
uint32_t | eport: 5 |
Egress Port which need do egress packet processing, active when oeteid is set to 1, not applicable to ENETC. | |
netc_tb_is_oeteid_mode_t | oETEID: 2 |
Override ET_EID (Egress Treatment table entry, which specified egress packet processing actions) | |
netc_tb_is_ctd_mode_t | ctd: 2 |
Cut-Through Disable mode, valid if fa = 010b ~ 101b. | |
uint32_t | isqEID |
Ingress Sequence Generation Entry ID, Valid when isqa is set to 1. More... | |
uint32_t | rpEID |
Rate Policer Entry ID, Valid when orp =1. More... | |
uint32_t | sgiEID |
Stream Gate Instance Entry ID, Valid when osgi =1. More... | |
uint32_t | ifmEID |
Ingress Frame Modification Entry ID. More... | |
uint32_t | etEID |
Base Egress Treatment Entry ID for primary Egress Treatment group, Valid alid if fa = 010b ~ 101b. More... | |
uint32_t | iscEID |
Ingress Stream counter Index. More... | |
uint32_t | ePortBitmap |
Egress Port bitmap, identifies the ports to which the frame is to be forwarding or ET applicability port bitmap when oETEID = 10b. More... | |
uint32_t | siMap: 16 |
Station Interface Map, only valid for ENETC function when fa field is set to 10b. | |
netc_host_reason_t netc_tb_is_cfge_t::hr |
uint32_t netc_tb_is_cfge_t::isqEID |
0xFFFF_FFFF is NULL. Not applicable to ENETC
uint32_t netc_tb_is_cfge_t::rpEID |
0xFFFF_FFFF is NULL
uint32_t netc_tb_is_cfge_t::sgiEID |
0xFFFF_FFFF is NULL
uint32_t netc_tb_is_cfge_t::ifmEID |
0xFFFF_FFFF is NULL
uint32_t netc_tb_is_cfge_t::etEID |
0xFFFF_FFFF is NULL. Not applicable to ENETC
uint32_t netc_tb_is_cfge_t::iscEID |
0xFFFF_FFFF is NULL.
uint32_t netc_tb_is_cfge_t::ePortBitmap |
Not applicable to ENETC
struct netc_tb_is_req_data_t |
Data Fields | |
netc_tb_is_cfge_t | cfge |
Only perform for update or add command. | |
struct netc_tb_is_rsp_data_t |
Data Fields | |
uint32_t | entryID |
Only perform for query command. | |
netc_tb_is_cfge_t | cfge |
Only perform for query command. | |
struct netc_tb_is_data_t |
struct netc_tb_is_config_t |
struct netc_tb_isf_keye_t |
struct netc_tb_isf_cfge_t |
Data Fields | |
uint32_t | ipv: 4 |
Internal Priority Value, active when opiv is set to 1. | |
uint32_t | oipv: 1 |
Override internal priority value. | |
uint32_t | dr: 2 |
Drop Resilience, active when odr is set to 1. | |
uint32_t | odr: 1 |
Overwrite DR. | |
uint32_t | imire: 1 |
Ingress Mirroring Enable, not applicable to ENETC. | |
uint32_t | timecape: 1 |
Timestamp Capture Enable, not applicable to ENETC. | |
uint32_t | osgi: 1 |
Override stream gate instance entry id. | |
uint32_t | ctd: 1 |
Cut-Through Disable, will disable cut-through for all destined ports when set 1, not applicable to ENETC. | |
uint32_t | orp: 1 |
Override Rate Policer (instance) ID. | |
netc_tc_sdu_type_t | sduType: 2 |
Service Data Unit Type to user for MSDU. | |
uint32_t | msdu: 16 |
Maximum Service Data Unit. | |
uint32_t | rpEID |
Rate Policer Entry ID, Valid when orp =1. More... | |
uint32_t | sgiEID |
Stream Gate Instance Entry ID, Valid when osgi =1. More... | |
uint32_t | iscEID |
Ingress Stream counter Index. More... | |
uint32_t netc_tb_isf_cfge_t::rpEID |
0xFFFF_FFFF is NULL
uint32_t netc_tb_isf_cfge_t::sgiEID |
0xFFFF_FFFF is NULL
uint32_t netc_tb_isf_cfge_t::iscEID |
0xFFFF_FFFF is NULL.
struct netc_tb_isf_req_data_t |
Data Fields | |
netc_tb_isf_cfge_t | cfge |
Only perform for update or add command. | |
struct netc_tb_isf_rsp_data_t |
Data Fields | |
uint32_t | entryID |
Only perform for query command. | |
netc_tb_isf_keye_t | keye |
Only perform for query command. | |
netc_tb_isf_cfge_t | cfge |
Only perform for query command. | |
struct netc_tb_isf_data_t |
struct netc_tb_isf_config_t |
struct netc_tb_rp_cfge_t |
Data Fields | |
uint32_t | cir |
Committed information Rate. | |
uint32_t | cbs |
Commited Burst Size. | |
uint32_t | eir |
Excess information Rate. | |
uint32_t | ebs |
Excess Burst Size. | |
uint32_t | mren: 1 |
Mark All Frames Red Enable, Not valid when ndor=1. | |
uint32_t | doy: 1 |
Drop on Yellow enable. | |
uint32_t | cm: 1 |
Color mode, 0b = Color blind, 1b = Color aware. | |
uint32_t | cf: 1 |
Coupling flag, enables coupling the Committed (C) bucket and Excess (E) bucket. | |
uint32_t | ndor: 1 |
No drop on red. | |
netc_tb_rp_sdu_type_t | sduType: 2 |
Service Data Unit Type. | |
uint32_t | __pad0__: 25 |
Reserved. | |
struct netc_tb_rp_stse_t |
Data Fields | |
uint32_t | byteCount [2] |
Number of bytes received by the rate policer instance. | |
uint32_t | dropFrames [2] |
Number of frames dropped by the rate policer instance. | |
uint32_t | dr0GrnFrames [2] |
Number of frames marked green with DR=0 by the rate policer instance. | |
uint32_t | dr1GrnFrames [2] |
Number of frames marked green with DR=1 by the rate policer instance. | |
uint32_t | dr2GrnFrames [2] |
Number of frames marked yellow with DR=2 by the rate policer instance. | |
uint32_t | remarkYlwFrames [2] |
Number of frames re-marked from green to yellow by the rate policer instance. | |
uint32_t | dr3RedFrames [2] |
Number of frames marked red with DR=3 by the rate policer instance. | |
uint32_t | remarkRedFrames [2] |
Number of frames re-marked from green or yellow to red by the rate policer instance. | |
uint32_t | lts |
Last timestamp. | |
uint32_t | bci: 31 |
Committed token bucket contents, integer portion (31 bits) | |
uint32_t | bcs: 1 |
Committed token bucket sign bit (1 bit) | |
uint32_t | bcf |
Committed token bucket contents, fractional portion (31 bits) | |
uint32_t | bei |
Excess token bucket contents, integer portion (32 bits) | |
uint32_t | bef: 31 |
Excess token bucket contents, fractional portion (31 bits) | |
uint32_t | bes: 1 |
Committed token bucket sign bit. | |
struct netc_tb_rp_req_data_t |
struct netc_tb_rp_rsp_data_t |
Data Fields | |
uint32_t | entryID |
Present only for commands which perform a query. | |
netc_tb_rp_stse_t | stse |
Present only for commands which perform a query. | |
netc_tb_rp_cfge_t | cfge |
Present only for commands which perform a query. | |
netc_tb_rp_fee_t | fee |
Present only for commands which perform a query. | |
netc_tb_rp_pse_t | pse |
Present only for commands which perform a query. | |
struct netc_tb_rp_data_t |
struct netc_tb_rp_config_t |
struct netc_tb_isc_stse_t |
Data Fields | |
uint32_t | rxCount |
Receive Count. | |
uint32_t | msduDropCount |
MSDU Drop Count. | |
uint32_t | policerDropCount |
Policer Drop Count. | |
uint32_t | sgDropCount |
Stream Gating Drop Count. | |
struct netc_tb_isc_req_data_t |
struct netc_tb_isc_rsp_data_t |
struct netc_tb_isc_data_t |
struct netc_tb_sgi_cfge_t |
Data Fields | |
uint8_t | oexen: 1 |
Octets Exceeded (Gate Closed Due To Octets Exceeded function) Enable. | |
uint8_t | irxen: 1 |
Invalid Receive (Gate Closed Due To Invalid Rx) Enable. | |
netc_tb_sgi_sdu_type_t | sduType: 2 |
The type of PDU/SDU for Interval Octets Maximum check for Gate Entry. | |
struct netc_tb_sgi_acfge_t |
Data Fields | |
uint32_t | adminSgclEID |
Administrative Stream Gate Control List Entry ID, 0xFFFFFFFF is NULL. | |
uint32_t | adminBaseTime [2] |
Admin Base Time. | |
uint32_t | adminCycleTimeExt |
Admin Cycle Time Extension. | |
struct netc_tb_sgi_icfge_t |
Data Fields | |
uint8_t | ipv: 4 |
Internal Priority Value (IPV), Valid if oipv is 1. | |
uint8_t | oipv: 1 |
Override frame IPV, otherwise the IPV value is determined by the stream gate control list entry. | |
uint8_t | gst: 1 |
Specifies Gate State before the administrative stream gate control list takes affect, 0b = Closed; 1b = Open. | |
uint8_t | ctd: 1 |
Specifies Cut Through disable status before the administrative stream gate control list takes affect , Not applicable to ENETC function. | |
struct netc_tb_sgi_sgise_t |
Data Fields | |
uint32_t | operSgclEID |
Operational Stream Gate Control List Entry ID. | |
uint32_t | configChangeTime [2] |
Configuration Change Time. | |
uint32_t | operBaseTime [2] |
Operational Base Time. | |
uint32_t | operCycleTimeExt |
Oper Cycle Time Extension. | |
uint32_t | oex: 1 |
Octets Exceeded Flag. | |
uint32_t | irx: 1 |
Invalid Receive Flag. | |
netc_tb_sgi_state_t | state: 3 |
Current Gate Instance State. | |
struct netc_tb_sgi_req_data_t |
struct netc_tb_sgi_rsp_data_t |
struct netc_tb_sgi_data_t |
struct netc_tb_sgi_config_t |
struct netc_sgcl_gate_entry_t |
Data Fields | |
uint32_t | timeInterval |
Time Interval for Gate Entry. | |
uint32_t | iom: 24 |
Interval Octets Maximum for Gate Entry, specifies the maximum bytes (octets) allowed to pass (open), valid if iomen = 1. | |
uint32_t | ipv: 4 |
Internal Priority Value for Gate Entry. | |
uint32_t | oipv: 1 |
Override Internal Priority Value for Gate Entry. | |
uint32_t | ctd: 1 |
Cut Through Disable for Gate Entry. | |
uint32_t | iomen: 1 |
Interval Octet Maximum Enabled for Gate Entry, 0b = Don'track count, 1b = Track count. | |
uint32_t | gtst: 1 |
Gate State for Gate Entry, 0b = Closed; 1b = Open. | |
struct netc_tb_sgcl_cfge_t |
Data Fields | |
uint32_t | cycleTime |
Cycle Time. | |
uint8_t | listLength |
List Length. | |
uint16_t | extOipv: 1 |
Extension (means the stream gate control list ends and before cycleTime restarts) Override Internal Priority Value. | |
uint16_t | extIpv: 4 |
List Extension Internal Priority Value, valid if extOipv = 1. | |
uint16_t | extCtd: 1 |
Extension Cut Through Disabled, 0b = No action, 1b = Disabled. | |
uint16_t | extGtst: 1 |
Extension Gate State, 0b = closed, 1b = Open. | |
struct netc_tb_sgcl_sgclse_t |
Data Fields | |
uint8_t | refCount |
Reference Count, 1 indicates that the gate control list is an administrative or an operational gate control list in a stream gate instance. | |
struct netc_tb_sgcl_req_data_t |
struct netc_tb_sgcl_rsp_data_t |
struct netc_tb_sgcl_data_t |
struct netc_tb_sgcl_gcl_t |
Data Fields | |
uint16_t | extOipv: 1 |
Extension (means the stream gate control list ends and before cycleTime restarts) Override Internal Priority Value. | |
uint16_t | extIpv: 4 |
List Extension Internal Priority Value, valid if extOipv = 1. | |
uint16_t | extCtd: 1 |
Extension Cut Through Disabled, 0b = No action, 1b = Disabled. | |
uint16_t | extGtst: 1 |
Extension Gate State, 0b = closed, 1b = Open. | |
uint32_t | cycleTime |
Cycle Time. | |
uint32_t | numEntries |
Control List entry numbers. | |
netc_sgcl_gate_entry_t * | gcList |
Pointer to stream gate control list array. | |
struct netc_tb_fm_cfge_t |
Data Fields | |
netc_tb_fm_layer2_act_t | l2Act: 1 |
Layer 2 Actions. | |
netc_tb_fm_mac_header_act_t | macHdrAct: 3 |
Layer 2 Header MAC Actions. | |
netc_tb_fm_vlan_header_act_t | vlanHdrAct: 2 |
Layer 2 VLAN Actions. | |
netc_tb_fm_outer_vid_act_t | outerVidAct: 2 |
Outer VID Actions. | |
netc_tb_fm_sqt_act_t | sqtAct: 3 |
Sequence Tag Action, Not applicable for ingress frame modifications. | |
uint16_t | smacPort: 5 |
Source MAC Address Register Port, valid if macHdrAct=010b,011b,100b. | |
uint8_t | dmac [6] |
Destination MAC Address, valid if macHdrAct = 011b,101b. | |
uint32_t | outerVlanID: 12 |
Outer VLAN VID, valid if outerVidAct = 01b. | |
uint32_t | outerVlanPcp: 3 |
Outer VLAN PCP, valid if outerPcpAct = 01b. | |
uint32_t | outerVlanDei: 1 |
Outer VLAN DEI, valid if outerDeiAct = 01b. | |
netc_tb_fm_outer_tpid_act_t | outerTpidAct: 3 |
Outer TPID action. | |
netc_tb_fm_outer_pcp_act_t | outerPcpAct: 3 |
Outer PCP action. | |
netc_tb_fm_outer_dei_act_t | outerDeiAct: 2 |
Outer DEI action. | |
netc_tb_fm_payload_act_t | pldAct: 3 |
Payload Actions, Not applicable for ingress frame modifications. | |
uint8_t | pldOffset |
Payload Offset, valid if outerPldAct = 010b. | |
uint16_t | fmdBytes |
Frame Modification Bytes, valid if outerPldAct = 001b,010b or l2Act = 1b. | |
uint32_t | fmdEID |
Frame Modification Data Entry ID, valid if outerPldAct = 001b,010b or l2Act = 1b. More... | |
uint32_t netc_tb_fm_cfge_t::fmdEID |
0xFFFF is null pointer
struct netc_tb_fm_req_data_t |
struct netc_tb_fm_rsp_data_t |
struct netc_tb_fm_data_t |
struct netc_tb_fm_config_t |
struct netc_tb_fmd_req_data_t |
Data Fields | |
uint8_t | cfge [] |
Configuration Element Data size is variable. | |
struct netc_tb_fmd_rsp_data_t |
Data Fields | |
uint8_t | cfge [] |
Configuration Element Data size is variable. | |
struct netc_tb_fmd_data_t |
struct netc_tb_fmd_update_config_t |
struct netc_tb_fmd_query_buffer_t |
struct netc_tb_vf_keye_t |
struct netc_tb_vf_cfge_t |
Data Fields | |
uint32_t | portMembership: 24 |
Port Membership Bitmap. | |
uint32_t | stgID: 4 |
Spanning Tree Group Member ID. | |
uint32_t | fid: 12 |
Filtering ID. | |
uint32_t | mlo: 3 |
MAC Learning Options. | |
uint32_t | mfo: 2 |
MAC Forwarding Options. | |
uint32_t | ipmfe: 1 |
IP Multicast Filtering Enable. | |
uint32_t | ipmfle: 1 |
IP Multicast Flooding Enable. | |
uint32_t | etaPortBitmap: 24 |
Egress Treatment Applicability Port Bitmap for the secondary Egress Treatment group. | |
uint32_t | baseETEID |
Base Egress Treatment Entry ID for the secondary Egress Treatment group. | |
struct netc_tb_vf_search_criteria_t |
Data Fields | |
uint32_t | resumeEntryId |
Resume Entry ID, when starting a search, pass the NULL Entry ID. More... | |
uint32_t netc_tb_vf_search_criteria_t::resumeEntryId |
struct netc_tb_vf_req_data_t |
Data Fields | |
netc_tb_vf_cfge_t | cfge |
Present only for update or add commands. | |
netc_tb_vf_search_criteria_t | sCriteria |
Active when access method is kNETC_Search. | |
struct netc_tb_vf_rsp_data_t |
Data Fields | |
uint32_t | status |
Present only for query command with search access method. | |
uint32_t | entryID |
Present only for query command. | |
netc_tb_vf_keye_t | keye |
Present only for query command. | |
netc_tb_vf_cfge_t | cfge |
Present only for query command. | |
struct netc_tb_vf_data_t |
struct netc_tb_vf_config_t |
struct netc_tb_fdb_cfge_t |
Data Fields | |
uint32_t | portBitmap: 24 |
Forwarding destination Port Bitmap and ET applicability port bitmap when oETEID = 10b. | |
netc_tb_fdb_oeteid_mode_t | oETEID: 2 |
Override ET_EID option. | |
uint32_t | ePort: 5 |
Egress Ports, active when oETEid = 01b or ctd = 01b. | |
uint32_t | iMirE: 1 |
Ingress Mirroring Enable. | |
netc_tb_fdb_ctd_mode_t | ctd: 2 |
Cut-Through Disable. | |
uint32_t | dynamic: 1 |
Static or Dynamic Entry, 0b = Static entry, 1b = Dynamic entry. | |
uint32_t | timeCapE: 1 |
Timestamp Capture Enable when set. | |
uint32_t | etEID |
Base egress treatment table entry id for primary Egress Treatment group, is valid if the oETEID field is set to value other than kNETC_FDBNoEPP. More... | |
uint32_t netc_tb_fdb_cfge_t::etEID |
0xFFFFFFFF is NULL.
struct netc_tb_fdb_acte_t |
struct netc_tb_fdb_search_criteria_t |
Data Fields | |
uint32_t | resumeEntryId |
Resume Entry ID, pass the NULL Entry ID when starting a search. | |
netc_tb_fdb_keye_t | keye |
Key Element data which used to match against the table entries. | |
netc_tb_fdb_cfge_t | cfge |
Configuration Element data which used to match against the table entries. | |
netc_tb_fdb_acte_t | acte |
Activity Element data which used to match against the table entries. | |
netc_tb_fdb_sc_keye_mc_t | keyeMc: 2 |
Key Element data match criteria. | |
netc_tb_fdb_sc_cfge_mc_t | cfgeMc: 3 |
Configuration Element data match criteria. | |
netc_tb_fdb_sc_acte_mc_t | acteMc: 1 |
Activity Element data match criteria. | |
struct netc_tb_fdb_req_data_t |
Data Fields | |
netc_tb_common_header_t | commonHeader |
Define update actions (use netc_tb_fdb_update_action_t) and query actions. | |
netc_tb_fdb_cfge_t | cfge |
Present only for commands which perform an update or add. | |
uint32_t | entryID |
Active when access method is kNETC_EntryIDMatch. | |
netc_tb_fdb_keye_t | keye |
Active when access method is kNETC_ExactKeyMatch. | |
netc_tb_fdb_search_criteria_t | sCriteria |
Active when access method is kNETC_Search. | |
struct netc_tb_fdb_rsp_data_t |
Data Fields | |
uint32_t | status |
RESUME_ENTRY_ID, valid only in responses for commands which use the Search Access Method. | |
uint32_t | entryID |
Present only for query command. | |
netc_tb_fdb_keye_t | keye |
Present only for query command. | |
netc_tb_fdb_cfge_t | cfge |
Present only for query command. | |
netc_tb_fdb_acte_t | acte |
Present only for query command. | |
struct netc_tb_fdb_data_t |
struct netc_tb_fdb_config_t |
struct netc_tb_l2mcf_keye_t |
Data Fields | |
netc_tb_l2mcf_key_type_t | keyType: 4 |
Key Type. | |
uint32_t | fid: 12 |
Filtering ID. | |
uint32_t | ipv4DestAddr |
IPv4 Destination Address. | |
uint32_t | ipv4SrcAddr |
IPv4 Source Address. | |
struct netc_tb_l2mcf_search_criteria_t |
Data Fields | |
uint32_t | resumeEntryId |
Resume Entry ID, pass the NULL Entry ID when starting a search. | |
netc_tb_l2mcf_keye_t | keye |
Key Element data which used to match against the table entries. | |
netc_tb_l2mcf_cfge_t | cfge |
Configuration Element data which used to match against the table entries. | |
netc_tb_l2mcf_acte_t | acte |
Activity Element data which used to match against the table entries. | |
etc_tb_l2mcf_sc_keye_mc_t | keyeMc: 1 |
Key Element data match criteria. | |
etc_tb_l2mcf_sc_cfge_mc_t | cfgeMc: 3 |
Configuration Element data match criteria. | |
etc_tb_l2mcf_sc_acte_mc_t | acteMc: 1 |
Activity Element data match criteria. | |
struct netc_tb_l2mcf_req_data_t |
struct netc_tb_l2mcf_rsp_data_t |
struct netc_tb_l2mcf_data_t |
struct netc_tb_l2mcf_config_t |
struct netc_tb_iseqg_cfge_t |
Data Fields | |
netc_tb_iseqg_sqtag_t | sqTag: 3 |
Sequence Tag Type. More... | |
uint8_t | __pad0__: 5 |
Reserved. More... | |
netc_tb_iseqg_sqtag_t netc_tb_iseqg_cfge_t::sqTag |
uint8_t netc_tb_iseqg_cfge_t::__pad0__ |
struct netc_tb_iseqg_sgse_t |
Data Fields | |
uint16_t | sqgNum |
Sequence Generation Number. | |
struct netc_tb_iseqg_req_data_t |
struct netc_tb_iseqg_rsp_data_t |
struct netc_tb_iseqg_data_t |
struct netc_tb_iseqg_config_t |
struct netc_tb_eseqr_cfge_t |
Data Fields | |
netc_tb_eseqr_sqtag_t | sqTag: 3 |
Sequence Tag, specify the expected sequence tag type in the frame. | |
uint32_t | sqrTnsq: 1 |
Sequence Recovery Take No Sequence. | |
uint32_t | sqrAlg: 1 |
Sequence Recovery Algorithm, 0b = Vector algorithm, 1b = Match algorithm. | |
uint32_t | sqrType: 1 |
Sequence Recovery Function type, 0b = Sequence recovery function, 1b = Individual recovery function. | |
uint32_t | sqrHl: 7 |
Sequence Recovery History Length, valid if sqrAlg = 0b. | |
uint32_t | sqrFwl: 12 |
Sequence Recovery Future Window Length, valid if sqrAlg = 0b. | |
uint32_t | sqrTp: 12 |
Sequence Timeout Period, the unit is 1.048576 milliseconds. | |
struct netc_tb_eseqr_stse_t |
Data Fields | |
uint32_t | inOrderPackets [2] |
In Order Packets. | |
uint32_t | outOfOrderPackets [2] |
Out of Order Packets. | |
uint32_t | roguePackets [2] |
Rogue Packets. | |
uint32_t | duplicatePackets [2] |
Duplicate Packets. | |
uint32_t | lostPackets [2] |
Lost Packets. | |
uint32_t | taglessPackets [2] |
Tag-Less Packets. | |
uint32_t | esqrResetCounts |
Sequence Recovery Resets. | |
struct netc_tb_eseqr_srse_t |
Data Fields | |
uint32_t | sqrNum: 16 |
Sequence Recovery Number. | |
uint32_t | takeAny: 1 |
Take Any. | |
uint32_t | lce: 1 |
Lost Count Enable. | |
uint32_t | sqrTs: 12 |
Sequence Recovery Timestamp. | |
uint32_t | sqrHistory [4] |
Recovery History bit vector, each bit corresponding to sequence numbers, bit 1 means a packet with that sequence number has been previously received. | |
struct netc_tb_eseqr_req_data_t |
struct netc_tb_eseqr_rsp_data_t |
struct netc_tb_eseqr_data_t |
struct netc_tb_eseqr_config_t |
struct netc_tgs_gate_entry_t |
Data Fields | |
uint32_t | interval |
Entry Time Interval. | |
uint32_t | tcGateState: 8 |
Traffic Class Gate States for Gate Entry, 8 bits for 8 Traffic Class , 0b means Gate closed, 1b means Gate open. | |
netc_tb_tgs_gate_type_t | operType: 4 |
Gate operation type ( IEEE 802.1Q-2018) field for gate control list entry i. | |
uint32_t | gate |
Entry Gate Mask. | |
struct netc_tb_tgs_cfge_t |
Data Fields | |
uint64_t | adminBaseTime |
Administrative Base Time. | |
uint32_t | adminCycleTime |
Administrative Cycle Time. | |
uint32_t | adminCycleTimeExt |
Administrative Cycle Time Extension. | |
uint32_t | adminControlListLength |
Administrative Control List Length. | |
netc_tgs_gate_entry_t | adminGcl [] |
Administrative Gate control list. | |
struct netc_tb_tgs_olse_t |
Data Fields | |
uint64_t | configChangeTime |
The time at which this operational gate control list became active. | |
uint64_t | configChangeError |
Count of error configuration changes. | |
uint64_t | operBaseTime |
Operational Base Time. | |
uint32_t | operCycleTime |
Operational Cycle Time. | |
uint32_t | operCycleTimeExt |
Operational Cycle Time Extension. | |
uint32_t | operControlListLength |
Operational Control List Length. | |
netc_tgs_gate_entry_t | operGcl [] |
Operational Gate control list. | |
struct netc_tb_tgs_req_data_t |
Data Fields | |
netc_tb_tgs_cfge_t | cfge |
Present only for commands which perform a update. | |
struct netc_tb_tgs_rsp_data_t |
Data Fields | |
uint32_t | entryID |
Present only for commands which perform a query. | |
netc_tb_tgs_cfge_t | cfge |
Present only for commands which perform a query. | |
netc_tb_tgs_olse_t | olse |
Present only for commands which perform a query. | |
struct netc_tb_tgs_data_t |
struct netc_tb_tgs_gcl_t |
Data Fields | |
uint64_t | baseTime |
Base Time. | |
uint32_t | cycleTime |
Cycle Time. | |
uint32_t | extTime |
Cycle Time Extension. | |
uint32_t | numEntries |
Control List entry numbers. | |
netc_tgs_gate_entry_t * | gcList |
Pointer to time gate control list array. | |
struct netc_tb_et_cfge_t |
Data Fields | |
netc_tb_et_efm_mode_t | efmMode: 2 |
Egress Frame Modification mode. | |
netc_tb_et_esq_act_t | esqa: 2 |
Egress Sequence Actions. | |
netc_tb_et_ec_act_t | eca: 2 |
Egress Counter Action. | |
uint8_t | __pad1__: 1 |
Reserve for data align. | |
uint8_t | efmLenChange: 7 |
Egress Frame Modification Length Change, specified in units of bytes using a 2's complement notation. | |
uint16_t | efmDataLen: 11 |
Egress Frame Modification Data Length. | |
uint32_t | efmEID |
Egress Frame Modification Entry Id. | |
uint32_t | ecEID |
Egress Count Table Entry ID. | |
uint32_t | esqaTgtEID |
Egress Sequence Actions Target Entry ID, active when esqa = 10b. | |
struct netc_tb_et_req_data_t |
struct netc_tb_et_rsp_data_t |
struct netc_tb_et_data_t |
struct netc_tb_et_config_t |
struct netc_tb_etmcq_cfge_t |
Data Fields | |
netc_hw_etm_class_queue_idx_t | cq2cgMap: 4 |
Class Queue to Congestion Group Mapping. | |
struct netc_tb_etmcq_stse_t |
Data Fields | |
uint32_t | rejByteCnt [2] |
Reject Byte Count. | |
uint32_t | rejFrameCnt [2] |
Reject Frame Count. | |
uint32_t | deqByteCnt [2] |
Dequeue Byte Count. | |
uint32_t | deqFrameCnt [2] |
Dequeue Frame Count. | |
uint32_t | dropByteCnt [2] |
Dropped Frames, Memory Lost. | |
uint32_t | dropFrameCnt [2] |
Dropped Frames, Memory Recovered. | |
uint32_t | frmCnt |
Frame Count. | |
struct netc_tb_etmcq_req_data_t |
struct netc_tb_etmcq_rsp_data_t |
struct netc_tb_etmcq_data_t |
struct netc_tb_etmcq_config_t |
Data Fields | |
uint32_t | entryID |
Need use NETC_TB_ETM_CQ_ENTRY_ID macro to create entry ID. | |
struct netc_tb_etmcs_cfge_t |
Data Fields | |
netc_tb_etmcs_ca_assg_t | cqAssg: 4 |
Class Queue Assignment, input 0 to 7 are weighted fair whereby input 8 to 15 are strict priority. | |
uint32_t | oal: 11 |
Overead accounting length. | |
struct { | |
uint8_t xCode: 3 | |
Weight code x value. | |
uint8_t yCode: 5 | |
Weight code y value. | |
} | wbfsWeight [8] |
Weight for scheduler input 0 ~ 7, effective weight is: (2^x)/(1-(y/64)) | |
struct netc_tb_etmcs_req_data_t |
Data Fields | |
netc_tb_etmcs_entry_id_t | entryID |
One class scheduler entry per port. | |
struct netc_tb_etmcs_rsp_data_t |
struct netc_tb_etmcs_data_t |
struct netc_tb_etmcs_config_t |
Data Fields | |
netc_tb_etmcs_entry_id_t | entryID |
One class scheduler entry per port. | |
struct netc_tb_etmcg_cfge_t |
Data Fields | |
uint16_t | tdDr0En: 1 |
Tail drop enable for DR0 Frame. | |
uint16_t | tdDr1En: 1 |
Tail drop enable for DR1 Frame. | |
uint16_t | tdDr2En: 1 |
Tail drop enable for DR2 Frame. | |
uint16_t | tdDr3En: 1 |
Tail drop enable for DR3 Frame. | |
uint16_t | oal: 12 |
Overhead accounting length, 2's complement value (range -2048 to +2047) | |
struct { | |
uint16_t tn: 5 | |
TA. | |
uint16_t ta: 8 | |
Tn. | |
} | tdDRThresh [4] |
Tail Drop Threshold (TA * 2^Tn) for DR0 ~ DR3 Frames, valid if tdDrnEn = 1b. | |
struct netc_tb_etmcg_stse_t |
struct netc_tb_etmcg_req_data_t |
struct netc_tb_etmcg_rsp_data_t |
struct netc_tb_etmcg_data_t |
struct netc_tb_etmcg_config_t |
Data Fields | |
uint32_t | entryID |
Need use NETC_TB_ETM_CG_ENTRY_ID macro to create entry ID. | |
struct netc_tb_ec_stse_t |
struct netc_tb_ec_req_data_t |
struct netc_tb_ec_rsp_data_t |
struct netc_tb_ec_data_t |
struct netc_tb_bp_cfge_t |
Data Fields | |
bool | sbpEn: 1 |
Shared Buffer Pool Enable, set true measn a shared buffer pool is associated with this buffer pool. | |
netc_tb_bp_fc_cfg_t | gcCfg: 2 |
Flow Control (FC) Configuration. | |
uint8_t | pfcVector |
Priority Flow Control (PFC) Vector, not support in NETC 3.0 and 3.1 version. | |
uint16_t | maxThresh: 12 |
Maximum Threshold, value 0 means disable maximum threshold checking, use NETC_TB_BP_THRESH macro to set this value. | |
uint16_t | fcOnThresh: 12 |
Flow Control On Threshold, If the buffer pool usage crosses this threshold, and if fcOnThresh is greater than fcOffThresh, the flow control state of the buffer pool is set to 1, use NETC_TB_BP_THRESH macro to set this value. More... | |
uint16_t | fcOffThresh: 12 |
Flow Control Off Threshold, If buffer pool usage drops to this threshold or below, the flow control state of the buffer pool is set to 0, , use NETC_TB_BP_THRESH macro to set this value. | |
uint32_t | sbpThresh: 12 |
Shared Buffer Pool Threshold, use NETC_TB_BP_THRESH macro to set this value. | |
uint32_t | sbpEid |
Shared Buffer Pool Entry ID, valid if sbpEn is true. | |
uint32_t | fcPorts |
Flow Control Port bitmap, indicates which ports are to be flow controlled for this buffer pool. | |
uint16_t netc_tb_bp_cfge_t::fcOnThresh |
struct netc_tb_bp_bpse_t |
Data Fields | |
uint32_t | amountUsed |
Amount Used, number of internal memory words (average of 20 bytes each) currently in use in this buffer pool. More... | |
uint32_t | amountUsedHWM |
Amount Used High Watermark, value sticks at the highest AMOUNT_USED seen since the last watermark reset. | |
uint32_t | fcState: 1 |
Flow Control (FC) State, ON (1) or OFF (0) | |
uint32_t | bpd: 1 |
Buffer Pool Disabled, 1 means the buffer pool has been disabled due to an uncorrectable ECC error. | |
uint32_t netc_tb_bp_bpse_t::amountUsed |
struct netc_tb_bp_req_data_t |
struct netc_tb_bp_rsp_data_t |
struct netc_tb_bp_data_t |
struct netc_tb_bp_config_t |
Data Fields | |
uint32_t | entryID |
Buffer pool ID, range in 0 ~ (SWT_GetBPTableEntryNum() - 1) | |
netc_tb_bp_cfge_t | cfge |
Buffer Pool table config element. | |
struct netc_tb_sbp_cfge_t |
Data Fields | |
uint32_t | maxThresh: 12 |
Maximum Threshold, If shared buffer pool usage is greater than or equal to this threshold, use NETC_TB_BP_THRESH macro to set this value. | |
uint16_t | fcOnThresh: 12 |
Flow Control On Threshold, If the shared buffer pool usage crosses this threshold, and if fcOnThresh is greater than fcOffThresh, the flow control state of the buffer pool is set to 1, use NETC_TB_BP_THRESH macro to set this value. More... | |
uint16_t | fcOffThresh: 12 |
Flow Control Off Threshold, If shared buffer pool usage drops to this threshold or below, the flow control state of the buffer pool is set to 0, use NETC_TB_BP_THRESH macro to set this value. | |
uint16_t netc_tb_sbp_cfge_t::fcOnThresh |
struct netc_tb_sbp_sbpse_t |
Data Fields | |
uint32_t | amountUsed |
Amount Used, number of internal memory words (average of 20 bytes each) currently in use in this buffer pool. More... | |
uint32_t | amountUsedHWM |
Amount Used High Watermark, value sticks at the highest AMOUNT_USED seen since the last watermark reset. | |
uint32_t | fcState: 1 |
Flow Control (FC) State, ON (1) or OFF (0) | |
uint32_t netc_tb_sbp_sbpse_t::amountUsed |
struct netc_tb_sbp_req_data_t |
struct netc_tb_sbp_rsp_data_t |
struct netc_tb_sbp_data_t |
struct netc_tb_sbp_config_t |
Data Fields | |
uint32_t | entryID |
Shared Buffer pool ID, range in 0 ~ (SWT_GetSBPTableEntryNum() - 1) | |
netc_tb_sbp_cfge_t | cfge |
Shared Buffer Pool table config element. | |
union netc_tb_data_buffer_t |
Data Fields | |
netc_tb_tgs_data_t | tgs |
Time Gate Scheduling table data buffer. | |
netc_tb_rp_data_t | rp |
Rate Policer table data buffer. | |
netc_tb_ipf_data_t | ipf |
Ingress Port filter table data buffer. | |
netc_tb_fdb_data_t | fdb |
FDB table data buffer. | |
netc_tb_l2mcf_data_t | l2mcf |
L2 IPV4 Multicast Filter table data buffer. | |
netc_tb_vf_data_t | vf |
VLAN Filter table data buffer. | |
netc_tb_isi_data_t | isi |
Ingress Stream Identification table data buffer. | |
netc_tb_is_data_t | is |
Ingress Stream table data buffer. | |
netc_tb_isf_data_t | isf |
Ingress Stream Filter table data buffer. | |
netc_tb_isc_data_t | isc |
Ingress Stream Count table data buffer. | |
netc_tb_sgi_data_t | sgi |
Stream Gate Instance table data buffer. | |
netc_tb_sgcl_data_t | sgcl |
Stream Gate Control List table data buffer. | |
netc_tb_fm_data_t | fm |
Frame Modification table data buffer. | |
netc_tb_fmd_data_t | fmd |
Frame Modification Data table data buffer. | |
netc_tb_et_data_t | et |
Egress Treatment table data buffer. | |
netc_tb_ec_data_t | ec |
Egress Count table data buffer. | |
netc_tb_etmcq_data_t | cq |
ETM Class Queue table data buffer. | |
netc_tb_etmcs_data_t | cs |
ETM Class Scheduler table data buffer. | |
netc_tb_etmcg_data_t | cg |
ETM Class Group table data buffer. | |
netc_tb_iseqg_data_t | iseqg |
Ingress Sequence Generation table data buffer. | |
netc_tb_eseqr_data_t | eseqr |
Egress Sequence Recovery table data buffer. | |
netc_tb_bp_data_t | bp |
Buffer Pool table data buffer. | |
netc_tb_sbp_data_t | sbp |
Shared Buffer Pool table data buffer. | |
struct netc_cbdr_hw_t |
Data Fields | |
__IO uint32_t | CBDRMR |
Command BDR mode register. More... | |
__I uint32_t | CBDRSR |
Command BDR status register. More... | |
__IO uint32_t | CBDRBAR0 |
Command BDR base address register 0. | |
__IO uint32_t | CBDRBAR1 |
Command BDR base address register 1. | |
__IO uint32_t | CBDRPIR |
Command BDR producer index register. | |
__IO uint32_t | CBDRCIR |
Command BDR consumer index register. | |
__IO uint32_t | CBDRLENR |
Command BDR length register. | |
__IO uint32_t netc_cbdr_hw_t::CBDRMR |
__I uint32_t netc_cbdr_hw_t::CBDRSR |
struct netc_cbdr_handle_t |
Data Fields | |
netc_cbdr_hw_t * | base |
Point to hardware command bd ring register group. More... | |
netc_cmd_bdr_t * | cmdr |
Point to command BD ring handle. More... | |
netc_tb_data_buffer_t * | buffer |
Point to table common data buffer. More... | |
netc_cbdr_hw_t* netc_cbdr_handle_t::base |
netc_cmd_bdr_t* netc_cbdr_handle_t::cmdr |
netc_tb_data_buffer_t* netc_cbdr_handle_t::buffer |
#define NETC_FD_EID_ENCODE_OPTION_0 | ( | entryId | ) | ((uint32_t)(entryId)&0xFFFU) |
enum netc_tb_index_t |
enum netc_tb_cmd_t |
enum netc_cbd_version_t |
enum netc_cmd_error_t |
enum netc_fm_sqt_act_t |
enum netc_tb_isi_key_type |
enum netc_tb_sgi_state_t |
Enumerator | |
---|---|
kNETC_UseFrameVid |
Use the VID from the valid outer VLAN header of the received frame. |
kNETC_UseSpecVid |
Use the VID specified in the outerVlanID field. |
enum netc_tb_et_esq_act_t |
enum netc_tb_et_ec_act_t |
enum netc_tb_bp_fc_cfg_t |
status_t NETC_CmdBDRInit | ( | netc_cbdr_hw_t * | base, |
const netc_cmd_bdr_config_t * | config | ||
) |
base | |
config |
status_t NETC_CmdBDRDeinit | ( | netc_cbdr_hw_t * | base | ) |
base |
status_t NETC_CmdBDSendCommand | ( | netc_cbdr_hw_t * | base, |
netc_cmd_bdr_t * | cbdr, | ||
netc_cmd_bd_t * | cbd, | ||
netc_cbd_version_t | version | ||
) |
base | |
cbdr | |
cbd | |
version |
status_t NETC_AddIPFTableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_ipf_config_t * | config, | ||
uint32_t * | entryID | ||
) |
handle | |
config | |
entryID |
status_t NETC_UpdateIPFTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_ipf_cfge_t * | cfg | ||
) |
handle | |
entryID | |
cfg |
status_t NETC_QueryIPFTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_ipf_config_t * | config | ||
) |
handle | |
entryID | |
config |
status_t NETC_DelIPFTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_ResetIPFMatchCounter | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_GetIPFMatchedCount | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
uint64_t * | count | ||
) |
handle | |
entryID | |
count |
status_t NETC_AddISITableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_isi_config_t * | config, | ||
uint32_t * | entryID | ||
) |
handle | |
config | |
entryID |
status_t NETC_DelISITableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_QueryISITableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_isi_config_t * | config | ||
) |
handle | |
entryID | |
config |
status_t NETC_QueryISITableEntryWithKey | ( | netc_cbdr_handle_t * | handle, |
netc_tb_isi_keye_t * | keye, | ||
netc_tb_isi_rsp_data_t * | rsp | ||
) |
handle | |
keye | |
rsp |
status_t NETC_AddOrUpdateISTableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_is_config_t * | config, | ||
bool | isAdd | ||
) |
handle | |
config | |
isAdd |
status_t NETC_QueryISTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_is_config_t * | config | ||
) |
handle | |
entryID | |
config |
status_t NETC_DelISTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_AddISFTableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_isf_config_t * | config, | ||
uint32_t * | entryID | ||
) |
handle | |
config | |
entryID |
status_t NETC_UpdateISFTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_isf_cfge_t * | cfg | ||
) |
handle | |
entryID | |
cfg |
status_t NETC_DelISFTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_QueryISFTableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_isf_keye_t * | keye, | ||
netc_tb_isf_rsp_data_t * | rsp | ||
) |
handle | |
keye | |
rsp |
status_t NETC_AddISCTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_GetISCStatistic | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_isc_stse_t * | statistic | ||
) |
handle | |
entryID | |
statistic |
status_t NETC_ResetISCStatistic | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_AddOrUpdateSGITableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_sgi_config_t * | config, | ||
bool | isAdd | ||
) |
handle | |
config | |
isAdd |
status_t NETC_DelSGITableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_GetSGIState | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_sgi_sgise_t * | statis | ||
) |
handle | |
entryID | |
statis |
status_t NETC_QuerySGITableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_sgi_rsp_data_t * | rsp | ||
) |
handle | |
entryID | |
rsp |
status_t NETC_AddSGCLTableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_sgcl_gcl_t * | config | ||
) |
handle | |
config |
status_t NETC_DelSGCLTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_GetSGCLGateList | ( | netc_cbdr_handle_t * | handle, |
netc_tb_sgcl_gcl_t * | gcl, | ||
uint32_t | length | ||
) |
handle | |
gcl | |
length |
status_t NETC_GetSGCLState | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_sgcl_sgclse_t * | state | ||
) |
handle | |
entryID | |
state |
status_t NETC_QueryRPTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_rp_rsp_data_t * | rsp | ||
) |
handle | |
entryID | |
rsp |
status_t NETC_AddOrUpdateRPTableEntry | ( | netc_cbdr_handle_t * | handle, |
netc_tb_rp_config_t * | config, | ||
netc_tb_cmd_t | cmd | ||
) |
handle | |
config | |
cmd |
status_t NETC_DelRPTableEntry | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID | ||
) |
handle | |
entryID |
status_t NETC_GetRPStatistic | ( | netc_cbdr_handle_t * | handle, |
uint32_t | entryID, | ||
netc_tb_rp_stse_t * | statis | ||
) |
handle | |
entryID | |
statis |
status_t NETC_ConfigTGSAdminList | ( | netc_cbdr_handle_t * | handle, |
netc_tb_tgs_gcl_t * | config | ||
) |
handle | |
config |
status_t NETC_GetTGSOperationList | ( | netc_cbdr_handle_t * | handle, |
netc_tb_tgs_gcl_t * | gcl, | ||
uint32_t | length | ||
) |
handle | |
gcl | |
length |