MCUXpresso SDK API Reference Manual  Rev 2.16.000
NXP Semiconductors
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Hardware ENETC

Overview

Group for ENETC API and data structure. data structure with netc_enetc as part in the naming. API starts with NETC_Enetc.

Data Structures

struct  netc_enetc_vlan_tag_t
 ENETC Port outer/inner VLAN tag. More...
 
struct  netc_enetc_port_discard_statistic_t
 PORT discard count statistic. More...
 
struct  netc_enetc_native_vlan_config_t
 ENETC Port outer/inner native VLAN config. More...
 
struct  netc_enetc_parser_config_t
 ENETC parser configuration. More...
 

Data Structure Documentation

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

Data Fields

bool disL3Checksum
 Disable Layer 3 IPv4 Header checksum validation. More...
 
bool disL4Checksum
 Disable Layer 4 TCP and UDP checksum validation. More...
 
uint16_t etype
 Custom Ethertype value. More...
 
bool en
 Enables the detection and mapping. More...
 
uint8_t cp
 This value is mapped to the parse summary as a Non IP code point. More...
 

Field Documentation

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