STRUCT MDIO_BUS_STATS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


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