octep_ctrl_net_dev_remove(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octep_ctrl_net_dev_remove β€” the kernel API manual, bestie edition ✨

Okay so picture this: it's a kernel API manual page (section 9, obvi), and the star of the show is octep_ctrl_net_dev_remove. Bestie, the whole vibe of this function is "hey firmware, we're leaving πŸ‘‹" β€” it tells the firmware that a device unload has happened. That's it. That's the gig. No cap. πŸ¦‹


🌸 NAME 🌸

octep_ctrl_net_dev_remove β€” Indicate to firmware that a device unload has happened.

Like literally, that's the entire personality. It's the goodbye text of kernel functions. πŸ’Œ


✨ SYNOPSIS ✨

int octep_ctrl_net_dev_remove (struct octep_device *oct , int vfid );

Two args, one int coming back at you. She's simple, she's clean, she slays. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • oct β€” non-null pointer to struct octep_device. Non-null, bestie!! Do not come in here with a NULL pointer, I am begging πŸ™ˆ. This is your device, front and center, main character energy.
  • vfid β€” Index of virtual function. Yeah, the virtual function index β€” she's an int, she's indexed, she's doing her thing. πŸ’…

🧚 DESCRIPTION 🧚

So the actual rundown, no fluff:

return value: 0 on success, -errno on failure.

That's the whole description in the original and I'm not gonna invent lore that isn't there β€” 0 means we ate and left no crumbs βœ…, and -errno means something went sideways and the error code tells you what 😭. Fr fr, keep every detail, that's the rule. 🫢


🌈 SEE ALSO 🌈

The whole friend group, in the actual kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h β€” go say hi to the whole squad:


⭐ the cute sign-off ⭐

Okay that's the page!! πŸ’– It's from the Kernel API Manual, dated October 2026, and the source path is all shy and abbreviated as ./drivers/net/ethernet/marvell... β€” you know the one, the Marvell Octeon EP corner of the tree 🐚. She's page octep_ctrl_net_dev_remove(9) and she's iconic. Periodt. πŸŽ€πŸ”₯

πŸ“¦ where this page comes from