i40e_lan_add_device(9)
π i40e_lan_add_device(9) π
okay bestie, we're in the Kernel API Manual today and this one is literally just <cyan>i40e_lan_add_device(9)</cyan> β say that three times fast, i dare you π«Ά
β¨ NAME β¨
i40e_lan_add_device β the little function whose whole job is adding a lan device struct to the list of lan devices π
πΈ SYNOPSIS πΈ
int i40e_lan_add_device (struct i40e_pf *pf );
π¦ ARGUMENTS π¦
pfβ pointer to the board struct π that's the whole vibe, she just wants a pointer to the board struct and nothing else
β DESCRIPTION β
so what does she do?? she does her thing and then tells you how it went: returns 0 on success, or none 0 on error π that's it, that's the whole description, no cap
ngl the manual is a little quiet here β but everything it says, i said. 0 = slay, not-0 = not slay. periodt.
π§ SEE ALSO π§
like bestie, if you liked this one you are gonna eat these up β the whole friend group fr fr:
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_client.cπ i40e_client_get_params(9)i40e_notify_client_of_vf_msg(9)i40e_notify_client_of_l2_param_changes(9)i40e_client_release_qvlist(9)i40e_notify_client_of_netdev_close(9)i40e_notify_client_of_vf_reset(9)i40e_notify_client_of_vf_enable(9)i40e_vf_client_capable(9)i40e_client_add_instance(9)i40e_client_del_instance(9)i40e_client_subtask(9)i40e_lan_del_device(9)i40e_client_virtchnl_send(9)i40e_client_setup_qvlist(9)i40e_client_request_reset(9)i40e_client_update_vsi_ctxt(9)
anyway that's the page!! sourced straight from ./drivers/net/ethernet/intel/i40e, dated October 2026 β iconic, timeless, a lil manpage moment πβ¨ bye bestie, go add urself a lan device πππ
π¦ 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