i40e_free_pf(9)
π i40e_free_pf π
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual name, we're in the kernel section 9 today, buckle up π
β¨ NAME β¨
i40e_free_pf β frees the i40e_pf structure and the devlink that's attached to it π¦
πΈ SYNOPSIS πΈ
void i40e_free_pf (struct i40e_pf *pf );
that's it. one call. one pointer. very demure, very mindful β¨
π«Ά ARGUMENTS π«Ά
pfβ the PF structure π (yes that's the whole description, she's a simple girl, no cap)
π DESCRIPTION π
okay so what does she actually do: i40e_free_pf frees the i40e_pf structure and the devlink β and that devlink was allocated by devlink_alloc π so like, it's the cleanup bestie. the closing-the-loop moment. the "we're so back β it's over" arc π₯
literally: i40e_pf gets freed, devlink gets freed, done. iconic behavior, no notes π§
real talk though β this is the free side of the story, so the matching alloc side is where the memory came from in the first place (see SEE ALSO below, iykyk π)
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_devlink.cβ go read the source, it's giving main character energy π i40e_alloc_pf(9)β the one who started it all πi40e_devlink_register(9)i40e_devlink_unregister(9)i40e_devlink_set_switch_id(9)i40e_devlink_create_port(9)i40e_devlink_destroy_port(9)
like the whole devlink friend group, together again π«Άβ¨
and that's the page!! brought to you by the fine people over at ./drivers/net/ethernet/intel/i40e, dated October 2026, living under the i40e_free_pf(9) banner π
mwah, go forth and free your memory responsibly, bestie π¦πΈ
π¦ 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