i40e_get_pfc_stats(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– i40e_get_pfc_stats(9) β€” Kernel API Manual, bestie πŸ’–

okay so this is the i40e_get_pfc_stats(9) page from the Kernel API Manual, and honestly it's giving β€œsmall helper function with main-character energy” ✨.


πŸŽ€ NAME πŸŽ€

i40e_get_pfc_stats β€” copy HW PFC statistics to formatted structure πŸ’…


🌸 SYNOPSIS 🌸

struct i40e_pfc_stats i40e_get_pfc_stats (struct i40e_pf *pf , unsigned
       int i );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pf β€” the PF device structure 🫢
  • i β€” the priority value to copy πŸ‘‘

✨ DESCRIPTION ✨

so here's the tea β˜•: the PFC stats are found as arrays in pf->stats, which is not easy to pass into i40e_add_ethtool_stats 😭.

This function produces a formatted i40e_pfc_stats structure of the PFC stats for the given priority. slay, formatted, done πŸ’…βœ¨


🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c, struct i40e_stats(9), and this whole iconic squad πŸ‘‘:


okay byeee bestie 🫢 this page came from ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's literally called i40e_get_pfc_stats(9) β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from