fc_remote_port_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this is fc_remote_port_create(9) from the Kernel API Manual, and the name is literally right there: fc_remote_port_create β€” allocates and creates a remote FC port. periodt. πŸ’…


✨ SYNOPSIS ✨

struct fc_rport * fc_remote_port_create (struct Scsi_Host *shost , int
       channel , struct fc_rport_identifiers *ids );

πŸŽ€ ARGUMENTS πŸŽ€

  • shost β€” the scsi host the remote port is connected to. that's the host bestie, the whole connection situation πŸ’–
  • channel β€” the channel on the shost port connected to. yes, the specific channel on that shost port πŸ¦‹
  • ids β€” the world wide names, fc address, and FC4 port roles for the remote port. all the identity deets, no cap πŸͺͺ✨

πŸ’« DESCRIPTION πŸ’«

so this routine allocates and creates the remoter port structure β€” and yes, the original says β€œremoter,” we are keeping the icon’s spelling, it’s giving typo main character energy πŸ˜­πŸ’€. it also handles the class and sysfs creation. full port glow-up, start to finish. 🫢


🚨 NOTES 🚨

Important vibe check: this routine assumes no locks are held on entry. no cap, don’t come in holding a lock β€” that’s the whole note. πŸ”πŸ’€

🌈 SEE ALSO 🌈

kernel file: ./drivers/scsi/scsi_transport_fc.c

the whole squad, in order, because we do not skip anyone:


mwah πŸ’‹ β€” source/version: ./drivers/scsi; date: October 2026; page tag: fc_remote_port_create(9). bye bestie, go create that remote FC port responsibly! πŸ«ΆπŸ’–

πŸ“¦ where this page comes from