dpmac_get_statistics(9)
β¨ 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__le32representing thedpmac_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
dpmac_open(9)dpmac_close(9)dpmac_get_attributes(9)dpmac_set_link_state(9)dpmac_get_counter(9)dpmac_get_api_version(9)dpmac_set_protocol(9)
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
- 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