octep_ctrl_net_dev_remove(9)
π 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 tostruct 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 anint, she's indexed, she's doing her thing. π
π§ DESCRIPTION π§
So the actual rundown, no fluff:
return value:0on success,-errnoon 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:
octep_ctrl_net_init(9)octep_ctrl_net_get_link_status(9)octep_ctrl_net_set_link_status(9)octep_ctrl_net_set_rx_state(9)octep_ctrl_net_get_mac_addr(9)octep_ctrl_net_set_mac_addr(9)octep_ctrl_net_get_mtu(9)octep_ctrl_net_set_mtu(9)octep_ctrl_net_get_if_stats(9)octep_ctrl_net_get_link_info(9)octep_ctrl_net_set_link_info(9)octep_ctrl_net_recv_fw_messages(9)octep_ctrl_net_get_info(9)octep_ctrl_net_set_offloads(9)octep_ctrl_net_uninit(9)
β 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
- 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