fm10k_update_hw_base_48b(9)
π fm10k_update_hw_base_48b β Kernel API Manual, bestie β¨
okay so real talk, this is a page straight out of the Kernel API Manual and it's about one tiny little function that keeps your 48-bit stats from going completely feral. sit down, grab a π, we're learning this together.
β¨ NAME β¨
fm10k_update_hw_base_48b β the girlies who update the 48-bit statistic base value π like that's literally her whole job.
π¦ SYNOPSIS π¦
void fm10k_update_hw_base_48b (struct fm10k_hw_stat *stat , u64 delta );
no cap, that's the whole signature. void in, void out, she returns nothing and she doesn't need to. main character energy honestly π
πΈ ARGUMENTS πΈ
statβ pointer to the hardware statistic structure. yes bestie, this is the actual struct getting touched. she's the destination πdeltaβ the value to be updated into the hardware statistic structure. this is the number doing the work, the moment, the β¨contentβ¨
π₯ DESCRIPTION π₯
okay so the way this works: the function receives a value, right, and then it determines if an update is required based on a delta calculation. like she's checking the vibe first, very responsible of her π«Ά
and here's the important part β only the base value will be updated. that's it. that's the update. don't come for the other fields, they're not part of this conversation, periodt π
π SEE ALSO π
she lives in this file, for reference:
Kernel file ./drivers/net/ethernet/intel/fm10k/fm10k_common.c
and she rolls with a whole squad, so lemme introduce everyone π:
fm10k_get_bus_info_generic(9)fm10k_get_invariants_generic(9)fm10k_start_hw_generic(9)fm10k_disable_queues_generic(9)fm10k_stop_hw_generic(9)fm10k_read_hw_stats_32b(9)fm10k_read_hw_stats_48b(9)fm10k_update_hw_stats_tx_q(9)fm10k_update_hw_stats_rx_q(9)fm10k_update_hw_stats_q(9)fm10k_unbind_hw_stats_q(9)fm10k_get_host_state_generic(9)
π real talk: every single one of those is worth a read, iykyk. don't skip the 32b one just because 48b sounds cooler. they're a matched set fr fr.
and that's the whole page, bestie!! π source situation for the credits: ./drivers/net/ethernet/intel/f... and it's dated October 2026, so like, future icon behaviour honestly β stay slaying, fm10k_update_hw_base_48b(9), we love you ππβ¨
π¦ 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