fc_vport_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fc_vport_create(9) πŸ’–

okay so this page is from the Kernel API Manual, and it's literally the "please create a vport for me" kernel function. Short page, big main character energy. ✨


🌸 NAME 🌸

fc_vport_create β€” Admin App or LLDD requests creation of a vport. That's the whole vibe, bestie: an Admin App or an LLDD is asking for a vport to be created. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

struct fc_vport * fc_vport_create (struct Scsi_Host *shost , int channel , struct fc_vport_identifiers *ids );

πŸŽ€ ARGUMENTS πŸŽ€

okay so three things go in, and here's what they are:

  • shost β€” the scsi host the virtual port is connected to. That's the one. 🫢
  • channel β€” the channel on the shost port connected to. Yep, that's it. πŸŽ€
  • ids β€” the world wide names, FC4 port roles, etc for the virtual port. All the identity details for the vport live here. 🌈

πŸ”₯ NOTES πŸ”₯

Heads up: This routine assumes no locks are held on entry. Like, zero locks, bestie. That's the assumption, periodt. πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./drivers/scsi/scsi_transport_fc.c, and the FC friend group is honestly huge. Here's the whole list, no skips: 🫢


made with πŸ’– and way too much iced coffee in ./drivers/scsi, dated October 2026, for fc_vport_create(9). bye bestie, go create some vports! πŸŽ€βœ¨

πŸ“¦ where this page comes from