Re: [PATCH net-next 4/5] net: ethernet: adi: Add a driver for the ADIN1140 MACPHY
From: Andrew Lunn
Date: Sat May 02 2026 - 23:15:36 EST
> +enum adin1140_statistics_entry {
> + rx_frames,
> + rx_broadcast_frames,
> + rx_multicast_frames,
> + rx_unicast_frames,
> + rx_crc_errors,
> + rx_align_errors,
> + rx_preamble_errors,
> + rx_short_frame_errors,
> + rx_long_frame_errors,
> + rx_phy_errors,
> + rx_fifo_full_dropped,
> + rx_addr_filter_dropped,
> + rx_ifg_errors,
> + tx_frames,
> + tx_broadcast_frames,
> + tx_multicast_frames,
> + tx_unicast_frames,
> + tx_single_collision,
> + tx_multi_collision,
> + tx_deferred,
> + tx_late_collision,
> + tx_excess_collision,
> + tx_underrun,
> +};
Many of these seem to be ethtool_eth_mac_stats. Please use that to
report the. You should only use the free form strings/values for none
standard statistics.
Andrew