fm10k_update_hw_stats_pf(9)
π
fm10k_update_hw_stats_pf β a.k.a. the fm10k_update_hw_stats_pf(9) era
okay so bestie, welcome to the Kernel API Manual corner of the group chat π«Ά this one is literally about the fm10k_update_hw_stats_pf function β say that three times fast, i dare you β and it lives in the kernel docs, km. no cap, it's short, it's sweet, and it does exactly one thing. let's get into it β¨
β¨ NAME β¨
fm10k_update_hw_stats_pf β updates hardware related statistics of PF π
like, that's the whole assignment. the function updates the hardware-related stats for the PF. obsessed with the efficiency tbh.
π¦ SYNOPSIS π¦
void fm10k_update_hw_stats_pf (struct fm10k_hw *hw , struct
fm10k_hw_stats *stats );
it returns void, so no return value to stress about β it just does the thing and dips π
π ARGUMENTS π
hwβ pointer to hardware structure. this is your hardware bestie, thestruct fm10k_hw *you're handing over.statsβ pointer to the stats structure to update. this is thestruct fm10k_hw_stats *that's getting its glow-up. it's the one being updated, periodt.
πΈ DESCRIPTION πΈ
so what does it actually do? the manual says it plain: this function collects and aggregates global and per queue hardware statistics. π
that's it. global stats? collected. per queue stats? also collected. both aggregated. the way it just gathers everything up and aggregates it β main character energy fr fr. no extra caveats, no drama, no warnings. just vibes and statistics. β¨
π SEE ALSO π
bestie, the SEE ALSO section here is long, and i'm not about to do it dirty by summarising. every single one, exactly as written, coming right up π
- Kernel file
./drivers/net/ethernet/intel/fm10k/fm10k_pf.c fm10k_reset_hw_pf(9)fm10k_is_ari_hierarchy_pf(9)fm10k_init_hw_pf(9)fm10k_update_vlan_pf(9)fm10k_read_mac_addr_pf(9)fm10k_glort_valid_pf(9)fm10k_update_xc_addr_pf(9)fm10k_update_uc_addr_pf(9)fm10k_update_mc_addr_pf(9)fm10k_update_xcast_mode_pf(9)fm10k_update_int_moderator_pf(9)fm10k_update_lport_state_pf(9)fm10k_configure_dglort_map_pf(9)fm10k_iov_assign_resources_pf(9)fm10k_iov_configure_tc_pf(9)fm10k_iov_assign_int_moderator_pf(9)fm10k_iov_assign_default_mac_vlan_pf(9)fm10k_iov_reset_resources_pf(9)fm10k_iov_set_lport_pf(9)fm10k_iov_reset_lport_pf(9)fm10k_iov_update_stats_pf(9)fm10k_iov_msg_msix_pf(9)fm10k_iov_select_vid(9)fm10k_iov_supported_xcast_mode_pf(9)fm10k_iov_msg_lport_state_pf(9)fm10k_rebind_hw_stats_pf(9)fm10k_set_dma_mask_pf(9)fm10k_get_fault_pf(9)fm10k_request_lport_map_pf(9)fm10k_get_host_state_pf(9)fm10k_msg_lport_map_pf(9)fm10k_msg_update_pvid_pf(9)fm10k_record_global_table_data(9)fm10k_msg_err_pf(9)
the way that list just keeps going π but we got through it, and every single (9) is intact, iykyk π
ngl if you're here reading kernel source docs at this hour, you're lowkey iconic. drink some water, bestie π
and that's the whole page!! omg π§ before i go β this lil slice of documentation came from the source/version tag ./drivers/net/ethernet/intel/f..., dated October 2026, and it's all about the manual page fm10k_update_hw_stats_pf(9). slay, goodbye, go aggregate some statistics ππ₯
π¦ 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