fcoe_if_create(9)
π fcoe_if_create β the one where we birth an FCoE instance π
ok so this is a page from the Kernel API Manual (section 9, kernel API stuff, iykyk) and it's all about fcoe_if_create. bestie, we're making a whole FCoE instance on an interface. it's giving main character energy for your storage stack β¨
πΈ NAME πΈ
fcoe_if_create β literally create a FCoE instance on an interface π«Ά
π SYNOPSIS π
struct fc_lport * fcoe_if_create (struct fcoe_interface *fcoe , struct
device *parent , int npiv );
that's the whole signature bestie, copy it exactly, no cap π
π¦ ARGUMENTS π¦
fcoeβ the FCoE interface you're creating a local port on. like, the home base πparentβ the device pointer that becomes the parent in sysfs for the SCSI host. it's the parent, it's parenting, iconic πnpivβ tells us whether the port is a vport or not. yes/no energy π
π§ DESCRIPTION π§
so what does it actually do? it creates a fc_lport instance and a Scsi_Host instance, then configures them both. two for the price of one, we love a bundle deal π
β¨
literally: allocate the local port, allocate the SCSI host, configure them. slay.
β RETURN β
you get the allocated fc_lport back π β or an error pointer if things went sideways. mood, honestly π
π SEE ALSO π
the kernel file lives at ./drivers/scsi/fcoe/fcoe.c, and here's the whole friend group β every single one, no gatekeeping π«Ά
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_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_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)
ok bye bestie, go create some instances responsibly πβ¨
this page came from ./drivers/scsi/fcoe, dated October 2026, and it's fcoe_if_create(9) β go off π
π¦ 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