i40e_hw_to_pf(9)
π i40e_hw_to_pf β kernel api manual, but make it make sense π
okay so this is i40e_hw_to_pf(9) from the Kernel API Manual, and bestie let me tell you, this one is short and sweet. It's giving "one job, does it well" energy. π
β¨ NAME β¨
i40e_hw_to_pf β get pf pointer from the hardware structure
like literally that's the whole thing. you hand it the hw struct, it hands you back the pf pointer. no cap. π«Ά
β¨ SYNOPSIS β¨
struct i40e_pf * i40e_hw_to_pf (struct i40e_hw *hw );
β¨ ARGUMENTS β¨
hwβ pointer to the device HW structure. that's it, that's the only thing you pass in. one (1) argument. iconic. π
π¦ SEE ALSO π¦
first up, the kernel file this whole thing lives near:
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e.h
and then the whole friend group, which, honestly, is a lot of friends β but every single one of them is listed here, so let's go, no skipping, iykyk:
__i40e_pf_next_vsi(9)__i40e_pf_next_veb(9)i40e_addr_to_hkey(9)i40e_info_nvm_ver(9)i40e_info_eetrack(9)i40e_info_civd_ver(9)i40e_nvm_version_str(9)i40e_netdev_to_pf(9)i40e_get_fd_cnt_all(9)i40e_read_fd_input_set(9)i40e_write_fd_input_set(9)i40e_get_pf_count(9)i40e_find_vsi_by_type(9)i40e_irq_dynamic_enable(9)i40e_is_tc_mqprio_enabled(9)i40e_pf_get_vsi_by_seid(9)i40e_pf_get_main_vsi(9)i40e_pf_get_veb_by_seid(9)i40e_pf_get_main_veb(9)
literally a whole squad. go read them, they're all in the i40e family and they ate. π
reminder bestie: this page has no options, no environment variables, no exit statuses and no warnings β it's just one function signature and a see-also list. don't go looking for drama where there isn't any. π
okay that's the page!! this lil slice of the kernel api manual came from ./drivers/net/ethernet/intel/i40e and the date on it is October 2026, and it's page i40e_hw_to_pf(9) β bye bestie, go convert some hardware structs to pf pointers responsibly πΈπβ¨
π¦ 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