fcoe_if_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🫢


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