fcoe_ctlr_enabled(9)
πΈ 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):
fcoe_interface_setup(9)fcoe_interface_create(9)fcoe_interface_remove(9)fcoe_interface_cleanup(9)fcoe_fip_recv(9)fcoe_fip_vlan_recv(9)fcoe_port_send(9)fcoe_fip_send(9)fcoe_update_src_mac(9)fcoe_get_src_mac(9)fcoe_lport_config(9)fcoe_netdev_config(9)fcoe_shost_config(9)fcoe_fdmi_info(9)fcoe_oem_match(9)fcoe_em_config(9)fcoe_if_destroy(9)fcoe_ddp_setup(9)fcoe_ddp_target(9)fcoe_ddp_done(9)fcoe_if_create(9)fcoe_if_init(9)fcoe_if_exit(9)fcoe_rcv(9)fcoe_alloc_paged_crc_eof(9)fcoe_xmit(9)fcoe_filter_frames(9)fcoe_recv_frame(9)fcoe_receive_work(9)fcoe_dev_setup(9)fcoe_dev_cleanup(9)fcoe_device_notification(9)fcoe_disable(9)fcoe_enable(9)fcoe_ctlr_mode(9)fcoe_destroy(9)fcoe_destroy_work(9)fcoe_match(9)fcoe_dcb_create(9)_fcoe_create(9)fcoe_create(9)fcoe_ctlr_alloc(9)fcoe_link_ok(9)fcoe_percpu_clean(9)fcoe_reset(9)fcoe_hostlist_lookup_port(9)fcoe_hostlist_lookup(9)fcoe_hostlist_add(9)fcoe_hostlist_del(9)fcoe_init(9)fcoe_exit(9)fcoe_flogi_resp(9)fcoe_logo_resp(9)fcoe_vport_create(9)fcoe_vport_destroy(9)fcoe_vport_remove(9)fcoe_vport_disable(9)fcoe_set_vport_symbolic_name(9)fcoe_set_port_id(9)
go read all sixty of them. I believe in you π§π
ngl the deprecated bit is the real warning here βfcoe_enableandfcoe_disableare 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
- 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