fcoe_ctlr_alloc(9)
π fcoe_ctlr_alloc (9) β Kernel API Manual π
okay bestie, welcome to the fcoe_ctlr_alloc(9) page, straight out of the Kernel API Manual β¨ grab a snack, this one's short and sweet.
πΈ NAME πΈ
fcoe_ctlr_alloc β literally just allocating a fcoe interface from fcoe_sysfs, that's the whole vibe π
π¦ SYNOPSIS π¦
int fcoe_ctlr_alloc (struct net_device *netdev );
β ARGUMENTS β
netdevβ thenet_devicethat the allocated FCoE Controller is gonna live in, no cap π«Ά
π DESCRIPTION π
okay so this routine gets called from fcoe_sysfs, right? And what it does is it starts the fcoe_ctlr off in a link_down state π Which is honestly a slay move, because it gives you β the user β a whole opportunity to configure the FCoE Controller from sysfs before you go ahead and enable the FCoE Controller π
And like, creating it with this routine starts the FCoE Controller in Fabric mode π You're not locked in either β you can switch to VN2VN or another mode before enabling, whenever you feel like it. main character energy fr fr β¨
π SEE ALSO π
Kernel file ./drivers/scsi/fcoe/fcoe.c plus this whole friend group:
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_enabled(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_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)
that's it, that's the page π go configure your controller in sysfs and have the best day ever, iykyk πβ¨
this lil masterpiece lives in ./drivers/scsi/fcoe, and it's dated October 2026 β mwah, bye bestie π§ββοΈππ₯
π¦ 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