ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_rmac_stats_t Struct Reference

Snapshot of every RMAC statistic counter. More...

#include <ra8_rmac.h>

Data Fields

uint32_t pause_tx_manual
 MMPFTCT.
uint32_t pause_tx_auto
 MAPFTCT.
uint32_t pause_rx
 MPFRCT.
uint32_t false_carrier
 MFCICT.
uint32_t eee_count
 MEEECT.
uint32_t pfc_tx_manual [k_ra8_rmac_pfc_group_count]
 MMPCFTCT.
uint32_t pfc_tx_auto [k_ra8_rmac_pfc_group_count]
 MAPCFTCT.
uint32_t pfc_rx [k_ra8_rmac_pfc_rx_count]
 MPCFRCT.
uint32_t rx_overflow
 MROVFC.
uint32_t rx_hdr_crc_err
 MRHCRCEC.
uint32_t rx_good_e
 MRGFCE.
uint32_t rx_good_p
 MRGFCP.
uint32_t rx_broadcast
 MRBFC.
uint32_t rx_multicast
 MRMFC.
uint32_t rx_unicast
 MRUFC.
uint32_t rx_phy_err
 MRPEFC.
uint32_t rx_nibble_err
 MRNEFC.
uint32_t rx_fcs_err
 MRFMEFC.
uint32_t rx_final_frag_miss
 MRFFMEFC.
uint32_t rx_c_frag_err
 MRCFCEFC.
uint32_t rx_frag_count_err
 MRFCEFC.
uint32_t rx_filter_rejected
 MRRCFEFC.
uint32_t rx_total
 MRFC.
uint32_t rx_good_undersize
 MRGUEFC.
uint32_t rx_bad_undersize
 MRBUEFC.
uint32_t rx_good_oversize
 MRGOEFC.
uint32_t rx_bad_oversize
 MRBOEFC.
uint32_t rx_bytes_e_upper
 MRXBCEU.
uint32_t rx_bytes_e_lower
 MRXBCEL.
uint32_t rx_bytes_p_upper
 MRXBCPU.
uint32_t rx_bytes_p_lower
 MRXBCPL.
uint32_t tx_good_e
 MTGFCE.
uint32_t tx_good_p
 MTGFCP.
uint32_t tx_broadcast
 MTBFC.
uint32_t tx_multicast
 MTMFC.
uint32_t tx_unicast
 MTUFC.
uint32_t tx_error
 MTEFC.
uint32_t tx_bytes_e_upper
 MTXBCEU.
uint32_t tx_bytes_e_lower
 MTXBCEL.
uint32_t tx_bytes_p_upper
 MTXBCPU.
uint32_t tx_bytes_p_lower
 MTXBCPL.

Detailed Description

Snapshot of every RMAC statistic counter.

Returned by ra8_rmac_read_stats. Each member maps to the like-named RMAC register in HUM Ch 33.4. RX and TX byte counters expose both the upper and lower halves so callers can reconstruct the 64-bit value: ((uint64_t)rx_bytes_e_upper << 32) | rx_bytes_e_lower.

Counters are read in a fixed order so a single snapshot represents a near-coherent view; callers that need true atomicity must mask RMAC IRQs across the read.

Definition at line 235 of file ra8_rmac.h.

Field Documentation

◆ eee_count

uint32_t ra8_rmac_stats_t::eee_count

MEEECT.

Definition at line 240 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ false_carrier

uint32_t ra8_rmac_stats_t::false_carrier

MFCICT.

Definition at line 239 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ pause_rx

uint32_t ra8_rmac_stats_t::pause_rx

MPFRCT.

Definition at line 238 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ pause_tx_auto

uint32_t ra8_rmac_stats_t::pause_tx_auto

MAPFTCT.

Definition at line 237 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ pause_tx_manual

uint32_t ra8_rmac_stats_t::pause_tx_manual

MMPFTCT.

Definition at line 236 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ pfc_rx

uint32_t ra8_rmac_stats_t::pfc_rx[k_ra8_rmac_pfc_rx_count]

MPCFRCT.

Definition at line 243 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ pfc_tx_auto

uint32_t ra8_rmac_stats_t::pfc_tx_auto[k_ra8_rmac_pfc_group_count]

MAPCFTCT.

Definition at line 242 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ pfc_tx_manual

uint32_t ra8_rmac_stats_t::pfc_tx_manual[k_ra8_rmac_pfc_group_count]

MMPCFTCT.

Definition at line 241 of file ra8_rmac.h.

Referenced by internal_snapshot_pause_pfc().

◆ rx_bad_oversize

uint32_t ra8_rmac_stats_t::rx_bad_oversize

MRBOEFC.

Definition at line 262 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_bad_undersize

uint32_t ra8_rmac_stats_t::rx_bad_undersize

MRBUEFC.

Definition at line 260 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_broadcast

uint32_t ra8_rmac_stats_t::rx_broadcast

MRBFC.

Definition at line 248 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_bytes_e_lower

uint32_t ra8_rmac_stats_t::rx_bytes_e_lower

MRXBCEL.

Definition at line 264 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_bytes_e_upper

uint32_t ra8_rmac_stats_t::rx_bytes_e_upper

MRXBCEU.

Definition at line 263 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_bytes_p_lower

uint32_t ra8_rmac_stats_t::rx_bytes_p_lower

MRXBCPL.

Definition at line 266 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_bytes_p_upper

uint32_t ra8_rmac_stats_t::rx_bytes_p_upper

MRXBCPU.

Definition at line 265 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_c_frag_err

uint32_t ra8_rmac_stats_t::rx_c_frag_err

MRCFCEFC.

Definition at line 255 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_fcs_err

uint32_t ra8_rmac_stats_t::rx_fcs_err

MRFMEFC.

Definition at line 253 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_filter_rejected

uint32_t ra8_rmac_stats_t::rx_filter_rejected

MRRCFEFC.

Definition at line 257 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_final_frag_miss

uint32_t ra8_rmac_stats_t::rx_final_frag_miss

MRFFMEFC.

Definition at line 254 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_frag_count_err

uint32_t ra8_rmac_stats_t::rx_frag_count_err

MRFCEFC.

Definition at line 256 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_good_e

uint32_t ra8_rmac_stats_t::rx_good_e

MRGFCE.

Definition at line 246 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_good_oversize

uint32_t ra8_rmac_stats_t::rx_good_oversize

MRGOEFC.

Definition at line 261 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_good_p

uint32_t ra8_rmac_stats_t::rx_good_p

MRGFCP.

Definition at line 247 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_good_undersize

uint32_t ra8_rmac_stats_t::rx_good_undersize

MRGUEFC.

Definition at line 259 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_hdr_crc_err

uint32_t ra8_rmac_stats_t::rx_hdr_crc_err

MRHCRCEC.

Definition at line 245 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_multicast

uint32_t ra8_rmac_stats_t::rx_multicast

MRMFC.

Definition at line 249 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_nibble_err

uint32_t ra8_rmac_stats_t::rx_nibble_err

MRNEFC.

Definition at line 252 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_overflow

uint32_t ra8_rmac_stats_t::rx_overflow

MROVFC.

Definition at line 244 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_phy_err

uint32_t ra8_rmac_stats_t::rx_phy_err

MRPEFC.

Definition at line 251 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_total

uint32_t ra8_rmac_stats_t::rx_total

MRFC.

Definition at line 258 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ rx_unicast

uint32_t ra8_rmac_stats_t::rx_unicast

MRUFC.

Definition at line 250 of file ra8_rmac.h.

Referenced by internal_snapshot_rx().

◆ tx_broadcast

uint32_t ra8_rmac_stats_t::tx_broadcast

MTBFC.

Definition at line 269 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_bytes_e_lower

uint32_t ra8_rmac_stats_t::tx_bytes_e_lower

MTXBCEL.

Definition at line 274 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_bytes_e_upper

uint32_t ra8_rmac_stats_t::tx_bytes_e_upper

MTXBCEU.

Definition at line 273 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_bytes_p_lower

uint32_t ra8_rmac_stats_t::tx_bytes_p_lower

MTXBCPL.

Definition at line 276 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_bytes_p_upper

uint32_t ra8_rmac_stats_t::tx_bytes_p_upper

MTXBCPU.

Definition at line 275 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_error

uint32_t ra8_rmac_stats_t::tx_error

MTEFC.

Definition at line 272 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_good_e

uint32_t ra8_rmac_stats_t::tx_good_e

MTGFCE.

Definition at line 267 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_good_p

uint32_t ra8_rmac_stats_t::tx_good_p

MTGFCP.

Definition at line 268 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_multicast

uint32_t ra8_rmac_stats_t::tx_multicast

MTMFC.

Definition at line 270 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().

◆ tx_unicast

uint32_t ra8_rmac_stats_t::tx_unicast

MTUFC.

Definition at line 271 of file ra8_rmac.h.

Referenced by internal_snapshot_tx().


The documentation for this struct was generated from the following file: