fcoe_ctlr_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 fcoe_ctlr_enabled β€” like, the whole vibe πŸ’…

okay so real quick, bestie: this is a page from the Kernel API Manual (yes, the Kernel API Manual, we're in the big leagues πŸŽ€) and it's all about one tiny little function that flips an FCoE Controller on or off. icon behavior honestly. let's get into it ✨


✨ NAME ✨

fcoe_ctlr_enabled β€” turn an FCoE Controller on or off 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

int fcoe_ctlr_enabled (struct fcoe_ctlr_device *cdev );

that's it. that's the whole signature. short and slay πŸ’œ


🌸 ARGUMENTS 🌸

  • cdev β€” the FCoE Controller that's getting enabled or disabled. like, the main character of this whole operation πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” fcoe_sysfs already makes sure that the state of 'enabled' has actually changed before we get here, so there's literally nothing to check. no cap, no validation needed, don't even stress about it πŸ™ˆ

this routine just calls fcoe_enable or fcoe_disable, and β€” heads up β€” both of those are deprecated πŸ’€ so yeah, they're on their way out.

the moment those routines get removed, all this functionality can just be merged in here. one function to rule them all, periodt ✨


πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./drivers/scsi/fcoe/fcoe.c, plus the entire extended fam 🫢 (iykyk):

go read all sixty of them. I believe in you πŸ§šπŸ’–


ngl the deprecated bit is the real warning here β€” fcoe_enable and fcoe_disable are so on their way out, so don't go building your whole personality around them πŸ’€

okay that's the page!! this lil masterpiece lives at ./drivers/scsi/fcoe, it's from October 2026, and it goes by fcoe_ctlr_enabled(9) β€” mwah, go forth and flip controllers responsibly πŸ‘‘πŸ’…βœ¨

πŸ“¦ where this page comes from