STRUCT NVMET_FC_PORT_INFO(9)
β¨ struct nvmet_fc_port_info β kernel API manual, bestie edition β¨
okay so this page is struct nvmet_fc_port_info(9) and it lives in the Kernel API Manual, and it is literally the little glow-up data element that holds port-specific ids plus FC connection-specific data β you use it while you're doing NVME Subsystem role registrations. that's the whole vibe. π
πΈ NAME πΈ
struct nvmet_fc_port_info β port-specific ids and FC connection-specific data element used during NVME Subsystem role registrations π«Ά
π SYNOPSIS π
she's a struct, she's three fields, she's iconic:
struct nvmet_fc_port_info {
u64 node_name;
u64 port_name;
u32 port_id;
};
π Members π
node_nameβ the FC WWNN for the port, bestie. that's it, that's the field. β¨port_nameβ the FC WWPN for the port. yes the names are similar, no you may not mix them up. πport_idβ the FC N_Port_ID currently assigned to the port. β οΈ the upper 8 bits must be set to0β not "should", must. do not test her. π
π¦ Description π¦
Static fields describing the port being registered:
Initialization values for dynamic port fields:
ok so the original really does leave those two lines just sitting there like a vibe check with no follow-up β nothing else is spelled out on this page, and I'm not about to invent lore. π
π SEE ALSO π
Kernel file ./include/linux/nvme-fc-driver.h β go read her, she's the main character π
struct nvmefc_ls_req(9)struct nvmefc_ls_rsp(9)struct nvme_fc_port_info(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 nvmefc_tgt_fcp_req(9)struct nvmet_fc_target_port(9)struct nvmet_fc_target_template(9)
and that's the whole page, no cap. this masterpiece ships from ./include/linux, dated October 2026, as part of the Kernel API Manual, and her full title is struct nvmet_fc_port_info(9) β mwah, go register some ports responsibly ππ§π
π¦ 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