STRUCT MDIO_BUS_STATS(9)
π NAME π
Hiii bestie!! Welcome to the Kernel API Manual page for struct mdio_bus_stats(9) β this is literally the Statistics counters for MDIO busses moment. Thatβs the whole vibe: itβs the stats-counter struct for MDIO busses. π¦
β¨ SYNOPSIS β¨
Okay so hereβs the struct in all its exact, character-for-character glory β do not βclean it up,β bestie, she is perfect as-is:
struct mdio_bus_stats {
u64_stats_t transfers;
u64_stats_t errors;
u64_stats_t writes;
u64_stats_t reads;
struct u64_stats_sync syncp;
};
π Members π
transfersβ Total number of transfers, i.e.writes+reads. Slay, math. β¨errorsβ Number of MDIO transfers that returned an error. Not the fun kind of plot twist, ngl. πwritesβ Number of write transfers. Iconic write behavior. ποΈreadsβ Number of read transfers. Main-character reading energy. πsyncpβ Synchronisation for incrementing statistics. The little sync fairy for bumping the stats. π§
π SEE ALSO π
These are the SEE ALSO besties, with the kernel file ./include/linux riding along too:
- Kernel file
./include/linux enum phy_interface_t(9)phy_modes(9)rgmii_clock(9)struct mii_bus(9)mdiobus_alloc(9)enum phy_state(9)struct phy_c45_device_ids(9)struct phy_oatc14_sqi_capability(9)struct phy_device(9)struct phy_tdr_config(9)enum link_inband_signalling(9)struct phy_plca_cfg(9)struct phy_plca_status(9)struct phy_led(9)struct phy_mse_capability(9)struct phy_mse_snapshot(9)struct phy_driver(9)phy_id_compare(9)phy_id_compare_vendor(9)phy_id_compare_model(9)phydev_id_compare(9)phy_is_started(9)phy_driver_is_genphy(9)phy_disable_eee_mode(9)phy_can_wakeup(9)phy_may_wakeup(9)phy_read(9)__phy_read(9)phy_write(9)__phy_write(9)__phy_modify_changed(9)phy_read_mmd_poll_timeout(9)__phy_set_bits(9)__phy_clear_bits(9)phy_set_bits(9)phy_clear_bits(9)__phy_set_bits_mmd(9)__phy_clear_bits_mmd(9)phy_set_bits_mmd(9)phy_clear_bits_mmd(9)phy_interrupt_is_valid(9)phy_polling_mode(9)phy_has_hwtstamp(9)phy_has_rxtstamp(9)phy_has_tsinfo(9)phy_has_txtstamp(9)phy_is_default_hwtstamp(9)phy_on_sfp(9)phy_interface_mode_is_rgmii(9)phy_interface_mode_is_8023z(9)phy_interface_is_rgmii(9)phy_is_pseudo_fixed_link(9)phy_module_driver(9)
Thatβs the whole page, bestie π Source/version/date sign-off: source ./include/linux, date/version October 2026, page handle struct mdio_bus_stats(9) β byeeee ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms