STRUCT NVME_FC_PORT_INFO(9)
β¨ struct nvme_fc_port_info(9) β¨
okay bestie, welcome to the Kernel API Manual π β this one's all about struct nvme_fc_port_info, aka the little bundle of port-specific ids + FC connection-specific data that gets used during NVME Host role registrations. it's giving "backstage pass for your fibre channel port" π
π¦ SYNOPSIS π¦
struct nvme_fc_port_info {
u64 node_name;
u64 port_name;
u32 port_role;
u32 port_id;
u32 dev_loss_tmo;
};
πΈ Members πΈ
node_nameβ the FC WWNN for the port, no cap π«Άport_nameβ the FC WWPN for the port, iconic behavior honestlyport_roleβ tells you which NVME roles are supported (peepFC_PORT_ROLE_xxx, iykyk)port_idβ the FC N_Port_ID that's currently assigned to the port. β οΈ heads up: the upper 8 bits must be set to 0 β like, non-negotiable, fr frdev_loss_tmoβ the maximum delay for reconnects to an association on this device. it's used only on a remoteport, so don't come for it anywhere else π
π Description π
Static fields describing the port being registered:
Initialization values for dynamic port fields:
(yes bestie, that's genuinely how it's laid out β those two little intro lines are sitting there all mysterious and main-character-energy π)
π₯ SEE ALSO π₯
Kernel file ./include/linux/nvme-fc-driver.h plus this whole friend group of structs:
struct nvmefc_ls_req(9)struct nvmefc_ls_rsp(9)struct nvmefc_fcp_req(9)struct nvme_fc_local_port(9)struct nvme_fc_remote_port(9)struct nvme_fc_port_template(9)struct nvmet_fc_port_info(9)struct nvmefc_tgt_fcp_req(9)struct nvmet_fc_target_port(9)struct nvmet_fc_target_template(9)
that's the whole page, bestie β go forth and register those ports π β¨
π¦ sourced from ./include/linux, dated October 2026, and wrapped up in struct nvme_fc_port_info(9) realness β mwah, love u, bye ππ
π¦ 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