fc_vport_create(9)
π 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β thescsihost the virtual port is connected to. That's the one. π«Άchannelβ the channel on theshostport 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: π«Ά
fc_get_event_number(9)fc_host_post_fc_event(9)fc_host_post_event(9)fc_host_post_vendor_event(9)fc_find_rport_by_wwpn(9)fc_host_fpin_rcv(9)fc_eh_timed_out(9)fc_queue_work(9)fc_flush_work(9)fc_queue_devloss_work(9)fc_flush_devloss(9)fc_remove_host(9)fc_starget_delete(9)fc_rport_final_delete(9)fc_remote_port_create(9)fc_remote_port_add(9)fc_remote_port_delete(9)fc_remote_port_rolechg(9)fc_timeout_deleted_rport(9)fc_timeout_fail_rport_io(9)fc_scsi_scan_rport(9)fc_block_rport(9)fc_block_scsi_eh(9)fc_vport_setup(9)fc_vport_terminate(9)fc_vport_sched_delete(9)fc_bsg_job_timeout(9)fc_bsg_host_dispatch(9)fc_bsg_rport_dispatch(9)fc_bsg_hostadd(9)fc_bsg_rportadd(9)fc_bsg_remove(9)
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
- 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