i40e_lan_del_device(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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