|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
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. | |
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.
| uint16_t ra8_etha_port_stats_t::reserved |
Reserved for alignment / future use.
Definition at line 112 of file ra8_etha_types.h.
| uint16_t ra8_etha_port_stats_t::ring_buf |
Configured per-descriptor buffer size.
Definition at line 111 of file ra8_etha_types.h.
| uint16_t ra8_etha_port_stats_t::ring_rx |
Configured RX ring depth.
Definition at line 110 of file ra8_etha_types.h.
| uint16_t ra8_etha_port_stats_t::ring_tx |
Configured TX ring depth.
Definition at line 109 of file ra8_etha_types.h.
| 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().
| 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().
| 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().
| 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().
| 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().