i40e_lan_del_device(9)
π i40e_lan_del_device β like, the Kernel API Manual page for it, section 9 bestie π
Okay so before we even get into it: this is a section 9 Kernel API Manual page, the whole vibe is kernel-internal functions, and honestly? Iconic of you to be reading it. Let's go π«Ά
β¨ NAME β¨
i40e_lan_del_device β it removes a lan device from the device list. That's the whole job. Clean, simple, ate. π
πΈ SYNOPSIS πΈ
int i40e_lan_del_device (struct i40e_pf *pf );
Like look at her. One argument, returns an int. No notes. π
π¦ ARGUMENTS π¦
pfβ pointer to the board struct. That's it, that's the whole parameter. She's a pointer, she points at the board struct, we love a low-maintenance queen π
π DESCRIPTION π
So the function removes a lan device from the device list, and here's the important part, bestie, do not skip this: it returns 0 on success or non-0 on error. Fr fr, that's the contract. If you get 0, slay, it worked. Anything that isn't 0? That's an error, and you should probably go look at it π
No cap, this is one of those "short and sweet" manpages where every single line is doing something. The way that it's literally just remove-device-and-report-status? Main character energy. π
π₯ SEE ALSO π₯
Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_client.c β that's where she lives π
And the whole friend group, all in section 9 together like a little group chat:
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_add_device(9)i40e_client_virtchnl_send(9)i40e_client_setup_qvlist(9)i40e_client_request_reset(9)i40e_client_update_vsi_ctxt(9)
Note the absolutely adorable symmetry happening: i40e_lan_add_device(9) is right there in the list, and our girl i40e_lan_del_device(9) is the other half of that duo. Add her, delete her, the circle of life π¦π
Pro tip from me to you: if you're chasing a bug through this crew, the SEE ALSO list is basically your roadmap. Follow it. iykyk π§
Alright that's the whole page, mwah π Cute little sign-off moment: this one comes from the source path ./drivers/net/ethernet/intel/i40e, dated October 2026, and yeah, she's i40e_lan_del_device(9) all the way down. Obsessed with her. Byeee ππ
π¦ 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