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

Per-port runtime traffic counters maintained by ra8_etha. More...

#include <ra8_etha_types.h>

Data Fields

uint32_t tx_ok
 Frames transmitted successfully.
uint32_t tx_err
 Frames that failed to transmit.
uint32_t rx_ok
 Frames received successfully.
uint32_t rx_err
 Frames received with PHY/MAC/FCS error.
uint32_t rx_drop
 Frames dropped due to ring overflow.
uint16_t ring_tx
 Configured TX ring depth.
uint16_t ring_rx
 Configured RX ring depth.
uint16_t ring_buf
 Configured per-descriptor buffer size.
uint16_t reserved
 Reserved for alignment / future use.

Detailed Description

Per-port runtime traffic counters maintained by ra8_etha.

Distinct from ra8_etha_stats_t (which holds the five MIB error counters from EAUSMFSECN/EATFECN/EAFSECN/EADQOECN/EADQSECN). This struct holds the software-maintained TX/RX OK/error totals updated as descriptors complete. Counters are 32-bit and saturate at 0xFFFFFFFF (do not wrap).

Definition at line 103 of file ra8_etha_types.h.

Field Documentation

◆ reserved

uint16_t ra8_etha_port_stats_t::reserved

Reserved for alignment / future use.

Definition at line 112 of file ra8_etha_types.h.

◆ ring_buf

uint16_t ra8_etha_port_stats_t::ring_buf

Configured per-descriptor buffer size.

Definition at line 111 of file ra8_etha_types.h.

◆ ring_rx

uint16_t ra8_etha_port_stats_t::ring_rx

Configured RX ring depth.

Definition at line 110 of file ra8_etha_types.h.

◆ ring_tx

uint16_t ra8_etha_port_stats_t::ring_tx

Configured TX ring depth.

Definition at line 109 of file ra8_etha_types.h.

◆ rx_drop

uint32_t ra8_etha_port_stats_t::rx_drop

Frames dropped due to ring overflow.

Definition at line 108 of file ra8_etha_types.h.

Referenced by ra8_etha_account_traffic().

◆ rx_err

uint32_t ra8_etha_port_stats_t::rx_err

Frames received with PHY/MAC/FCS error.

Definition at line 107 of file ra8_etha_types.h.

Referenced by ra8_etha_account_traffic().

◆ rx_ok

uint32_t ra8_etha_port_stats_t::rx_ok

Frames received successfully.

Definition at line 106 of file ra8_etha_types.h.

Referenced by ra8_etha_account_traffic().

◆ tx_err

uint32_t ra8_etha_port_stats_t::tx_err

Frames that failed to transmit.

Definition at line 105 of file ra8_etha_types.h.

Referenced by ra8_etha_account_traffic().

◆ tx_ok

uint32_t ra8_etha_port_stats_t::tx_ok

Frames transmitted successfully.

Definition at line 104 of file ra8_etha_types.h.

Referenced by ra8_etha_account_traffic().


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