Group for ENETC API and data structure. data structure with netc_enetc as part in the naming. API starts with NETC_Enetc.
| struct netc_enetc_vlan_tag_t |
Data Fields |
|
uint16_t | pcp: 3 |
| | Priority code point.
|
| |
|
uint16_t | dei: 1 |
| | Drop eligible indicator.
|
| |
|
uint16_t | vid: 12 |
| | VLAN identifier.
|
| |
|
netc_vlan_tpid_select_t | tpid: 2 |
| | Tag protocol identifier.
|
| |
| struct netc_enetc_port_discard_statistic_t |
Data Fields |
|
uint32_t | ingressDR [4] |
| | Discard count for port ingress congestion different DR.
|
| |
|
uint32_t | broadcastReject |
| | Broadcast frame drops count due to all SI enable broadcast reject.
|
| |
|
uint32_t | smacPruning |
| | Frames discard count due to port MAC source address pruning.
|
| |
|
uint32_t | unicastMacFilt |
| | Unicast frame discard count due to port MAC filtering.
|
| |
|
uint32_t | multicastMacFilt |
| | Multicast frame discard count due to MAC filtering.
|
| |
|
uint32_t | unicastVlanFilt |
| | Unicast frame discard count due to VLAN filtering.
|
| |
|
uint32_t | multicastVlanFilt |
| | Multicast frame discard count due to VLAN filtering.
|
| |
|
uint32_t | boradcastVlanFilt |
| | Broadcast frame discard count due to VLAN filtering.
|
| |
| struct netc_enetc_native_vlan_config_t |
Data Fields |
|
bool | enUnderZeroVid |
| | Enable use the port default VLAN VID when the VID in the packet's is zero.
|
| |
|
bool | enUnderNoVlan |
| | Enable use the port default VLAN VID when the VLAN tag is not present.
|
| |
|
netc_enetc_vlan_tag_t | vlanTag |
| | Port native outer/inner VLAN tag, valid when enUnderZeroVid or enUnderNoVlan is true.
|
| |
| struct netc_enetc_parser_config_t |
| bool netc_enetc_parser_config_t::disL3Checksum |
| bool netc_enetc_parser_config_t::disL4Checksum |
| uint16_t netc_enetc_parser_config_t::etype |
Upon detecting this ether type the associated code point will be mapped to the parse summary as a Non IP code point.
| bool netc_enetc_parser_config_t::en |
| uint8_t netc_enetc_parser_config_t::cp |