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

Overview

Group for the Port Mac functionalities

Data Structures

struct  netc_port_phy_mac_preemption_status_t
 Port MAC preemption Status. More...
 
struct  netc_port_phy_mac_traffic_statistic_t
 Ethernet MAC physical port traffic (Tx/Rx) statistics counters, when enable frame preemption, one physical MAC will be divided into a pMAC and a eMAC and statistics counters will also have two groups. More...
 
struct  netc_port_phy_mac_discard_statistic_t
 Ethernet MAC physical port frame discard/errors status statistics counters, when enable frame preemption, one physical MAC will be divided into a pMAC and a eMAC and statistics counters will also have two groups. More...
 
struct  netc_port_phy_mac_preemption_statistic_t
 Ethernet physical MAC port preemption (Tx/Rx) related statistics counters. More...
 
struct  netc_port_pseudo_mac_traffic_statistic_t
 Ethernet pseudo MAC port traffic (Tx/Rx) statistics counters. More...
 

Enumerations

enum  netc_port_phy_mac_type_t {
  kNETC_ExpressMAC = 0U,
  kNETC_PreemptableMAC
}
 Defines the Ethernet MAC physical port type. More...
 
enum  netc_port_preemption_verify_status_t {
  kNETC_VerifyDisable = 0U,
  kNETC_VerifyInProgress = 2U,
  kNETC_VerifySuccess,
  kNETC_VerifyFaile,
  kNETC_VerifyUndefined
}
 Definesthe state of the mac merge sublayer with respect to verification as defined in IEEE Std 802.3br-2016. More...
 

Data Structure Documentation

struct netc_port_phy_mac_preemption_status_t

Data Fields

bool mergeActive
 Transmit preemption is active or not.
 
netc_port_preemption_verify_status_t verifyStatus
 Transmit preemption is active or not.
 
struct netc_port_phy_mac_traffic_statistic_t

Data Fields

uint64_t totalOctet
 Count of MAC received/transmitted good/error Ethernet octets. More...
 
uint64_t validOctet
 Count of MAC received/transmitted good Ethernet octets. More...
 
uint64_t pauseFrame
 Count of MAC received/transmitted valid PAUSE frames. More...
 
uint64_t validFrame
 Count of MAC received/transmitted valid frames. More...
 
uint64_t vlanFrame
 Count of MAC received/transmitted valid VLAN tagged frames. More...
 
uint64_t unicastFrame
 Count of MAC received/transmitted valid unicast frames. More...
 
uint64_t multicastFrame
 Count of MAC received/transmitted valid multicast frames. More...
 
uint64_t boradcastFrame
 Count of MAC received/transmitted valid broadcast frames. More...
 
uint64_t totalPacket
 Count of MAC received/transmitted good/error packets. More...
 
uint64_t rxMinPacket
 Count of MAC received min to 63-octet packets. More...
 
uint64_t total64BPacket
 Count of MAC received/transmitted 64 octet packets. More...
 
uint64_t total65To127BPacket
 Count of MAC received/transmitted 65 to 127 octet packets. More...
 
uint64_t total128To255BPacket
 Count of MAC received/transmitted 128 to 255 octet packets. More...
 
uint64_t total256To511BPacket
 Count of MAC received/transmitted 256 to 511 octet packets. More...
 
uint64_t total511To1023BPacket
 Count of MAC received/transmitted 512 to 1023 octet packets. More...
 
uint64_t total1024To1522BPacket
 Count of MAC received/transmitted 1024 to 1522 octet packets. More...
 
uint64_t total1523ToMaxBPacket
 Count of MAC received/transmitted 1523 to Max octet packets. More...
 
uint64_t controlPacket
 Count of MAC received/transmitted control packets. More...
 

Field Documentation

uint64_t netc_port_phy_mac_traffic_statistic_t::totalOctet
uint64_t netc_port_phy_mac_traffic_statistic_t::validOctet
uint64_t netc_port_phy_mac_traffic_statistic_t::pauseFrame
uint64_t netc_port_phy_mac_traffic_statistic_t::validFrame
uint64_t netc_port_phy_mac_traffic_statistic_t::vlanFrame
uint64_t netc_port_phy_mac_traffic_statistic_t::unicastFrame
uint64_t netc_port_phy_mac_traffic_statistic_t::multicastFrame
uint64_t netc_port_phy_mac_traffic_statistic_t::boradcastFrame
uint64_t netc_port_phy_mac_traffic_statistic_t::totalPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::rxMinPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total64BPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total65To127BPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total128To255BPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total256To511BPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total511To1023BPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total1024To1522BPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::total1523ToMaxBPacket
uint64_t netc_port_phy_mac_traffic_statistic_t::controlPacket
struct netc_port_phy_mac_discard_statistic_t

Data Fields

uint64_t rxError
 Count of MAC received error frames. More...
 
uint64_t rxUndersized
 Count of MAC received undersized frames. More...
 
uint64_t rxOversized
 Count of MAC received oversized frames. More...
 
uint64_t rxErrorFCS
 Count of MAC received check sequence (FCS) error frames. More...
 
uint64_t rxFragment
 Count of MAC frames which is shorter than the MIN length and received with a wrong FCS/CRC. More...
 
uint64_t rxJabber
 Count of MAC frames which is larger than the MAX length and received with a wrong FCS/CRC. More...
 
uint64_t rxDiscard
 Count of MAC drops frame. More...
 
uint64_t rxDiscardNoTruncated
 Count of MAC non-truncated drops frame. More...
 
uint64_t txErrorFCS
 Count of MAC transmitted bad FCS frames. More...
 
uint64_t txUndersized
 Count of MAC transmitted less than 64B with good FCS frames. More...
 

Field Documentation

uint64_t netc_port_phy_mac_discard_statistic_t::rxError
uint64_t netc_port_phy_mac_discard_statistic_t::rxUndersized
uint64_t netc_port_phy_mac_discard_statistic_t::rxOversized
uint64_t netc_port_phy_mac_discard_statistic_t::rxErrorFCS
uint64_t netc_port_phy_mac_discard_statistic_t::rxFragment
uint64_t netc_port_phy_mac_discard_statistic_t::rxJabber
uint64_t netc_port_phy_mac_discard_statistic_t::rxDiscard
uint64_t netc_port_phy_mac_discard_statistic_t::rxDiscardNoTruncated
uint64_t netc_port_phy_mac_discard_statistic_t::txErrorFCS
uint64_t netc_port_phy_mac_discard_statistic_t::txUndersized
struct netc_port_phy_mac_preemption_statistic_t

Data Fields

uint32_t rxReassembledFrame
 Count of MAC frames that were successfully reassembled and delivered to the MAC. More...
 
uint32_t rxReassembledError
 Count of MAC frames with reassembly errors. More...
 
uint32_t rxMPacket
 Count of the number of additional mPackets received due to preemption. More...
 
uint32_t rxSMDError
 Count of received MAC frames / MAC frame fragments rejected due to unknown SMD. More...
 
uint32_t txPreemptionReq
 Count of the number of tx preemption HOLD requests. More...
 
uint32_t txMPacket
 Count of the number of additional mPackets transmitted due to preemption. More...
 

Field Documentation

uint32_t netc_port_phy_mac_preemption_statistic_t::rxReassembledFrame
uint32_t netc_port_phy_mac_preemption_statistic_t::rxReassembledError
uint32_t netc_port_phy_mac_preemption_statistic_t::rxMPacket
uint32_t netc_port_phy_mac_preemption_statistic_t::rxSMDError
uint32_t netc_port_phy_mac_preemption_statistic_t::txPreemptionReq
uint32_t netc_port_phy_mac_preemption_statistic_t::txMPacket
struct netc_port_pseudo_mac_traffic_statistic_t

Data Fields

uint64_t totalOctet
 Count of MAC received/transmitted octets. More...
 
uint64_t unicastFrame
 Count of MAC received/transmitted unicast frames. More...
 
uint64_t multicastFrame
 Count of MAC received/transmitted multicast frames. More...
 
uint64_t boradcastFrame
 Count of MAC received/transmitted broadcast frames . More...
 

Field Documentation

uint64_t netc_port_pseudo_mac_traffic_statistic_t::totalOctet
uint64_t netc_port_pseudo_mac_traffic_statistic_t::unicastFrame
uint64_t netc_port_pseudo_mac_traffic_statistic_t::multicastFrame
uint64_t netc_port_pseudo_mac_traffic_statistic_t::boradcastFrame

Enumeration Type Documentation

Enumerator
kNETC_ExpressMAC 

The MAC which handles express traffic when frame preemption is enabled or handles all traffic when frame preemption is disabled.

kNETC_PreemptableMAC 

The MAC which handles preemptive traffic when frame preemption is enabled.

Enumerator
kNETC_VerifyDisable 

Verification is disabled.

kNETC_VerifyInProgress 

Verification is in progress.

kNETC_VerifySuccess 

Verification was successful.

kNETC_VerifyFaile 

Verification failed.

kNETC_VerifyUndefined 

Verification is in an undefined state.