bnx2fc_ctlr_enabled(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to bnx2fc_ctlr_enabled(9) from the Kernel API Manual β€” the lil’ kernel-API page about flipping an FCoE Controller on or off. No cap, it’s short, but every detail is here and we’re gonna treat it with main-character respect. 🫢✨

🌸 NAME 🌸

bnx2fc_ctlr_enabled β€” Enable or disable an FCoE Controller πŸ’…

✨ SYNOPSIS ✨

int bnx2fc_ctlr_enabled (struct fcoe_ctlr_device *cdev );

That’s the whole signature. Slay. πŸŽ€

πŸŽ€ ARGUMENTS πŸŽ€

  • cdev β€” The FCoE Controller that is being enabled or disabled. That’s the VIP right there. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Okay so here’s the tea: fcoe_sysfs will ensure that the state of 'enabled' has changed, so no checking is necessary here β€” literally none, bestie, not even a tiny vibe check. 😌

This routine simply calls fcoe_enable or fcoe_disable, both of which are deprecated. ⚠️

When those routines are removed, the functionality can be merged here. That’s the future glow-up. ✨

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/scsi/bnx2fc/bnx2fc_fcoe.c plus the whole squad:


xoxo, signing off from ./drivers/scsi/bnx2fc, October 2026 β€” bnx2fc_ctlr_enabled(9) out πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from