dpmac_get_statistics(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

Okay so this is the dpmac_get_statistics(9) page from the Kernel API Manual, and it's literally here to get MAC statistics. That's the whole vibe. πŸ’…


🌈 SYNOPSIS 🌈

int dpmac_get_statistics (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
       token , u64 iova_cnt , u64 iova_values , u32 num_cnt );

πŸ’… ARGUMENTS πŸ’…

  • mc_io β€” pointer to an opaque I/O object. It's giving "you don't need to know what's inside, bestie, just pass the pointer." 🫢
  • cmd_flags β€” command flags, and they're one or more of 'MC_CMD_FLAG_' ✨
  • token β€” the token of the DPMAC object. iykyk πŸŽ€
  • iova_cnt β€” the IOVA containing the requested MAC counters, formatted as an array of __le32 representing the dpmac_counter_id πŸ’–
  • iova_values β€” the IOVA containing the values for all the requested counters, formatted as an array of __le64 🌸
  • num_cnt β€” number of counters requested. yes bestie, it's the count. πŸ”₯

πŸ’« RETURN πŸ’«

This section is literally empty in the original, so there's no return info written down here. No cap. 😭


πŸ‘€ SEE ALSO πŸ‘€

Kernel file: ./drivers/net/ethernet/freescale/dpaa2/dpmac.c


Signing off from the footer, bestie: source/version vibe is ./drivers/net/ethernet/freesca... and the date is October 2026. That's the whole cute little end-of-page moment. πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from