ENUM FC_LPORT_STATE(9)
π enum fc_lport_state(9) π
okay so bestie, this is from the Kernel API Manual and it's literally the vibe check for a local port's states in libfc. no cap, it's giving main character energy for Fibre Channel. let's get into it π§β¨
πΈ NAME πΈ
enum fc_lport_state β Local port states. periodt.
π¦ SYNOPSIS π¦
enum fc_lport_state {
LPORT_ST_DISABLED ,
LPORT_ST_FLOGI ,
LPORT_ST_DNS ,
LPORT_ST_RNN_ID ,
LPORT_ST_RSNN_NN ,
LPORT_ST_RSPN_ID ,
LPORT_ST_RFT_ID ,
LPORT_ST_RFF_ID ,
LPORT_ST_FDMI ,
LPORT_ST_RHBA ,
LPORT_ST_RPA ,
LPORT_ST_DHBA ,
LPORT_ST_DPRT ,
LPORT_ST_SCR ,
LPORT_ST_READY ,
LPORT_ST_LOGO ,
LPORT_ST_RESET
};
π CONSTANTS π
each one is a little era the local port goes through, iykyk π
LPORT_ST_DISABLEDβ Disabled. literally off, bestie.LPORT_ST_FLOGIβ Fabric login (FLOGI) sent. that FLOGI went out, periodt.LPORT_ST_DNSβ Waiting for name server remote port to become ready. highkey just chilling until the name server rport is good to go.LPORT_ST_RNN_IDβ Register port name by ID (RNN_ID) sent. the RNN_ID got sent, no cap.LPORT_ST_RSNN_NNβ Waiting for host symbolic node name. lowkey waiting on that symbolic node name from the host.LPORT_ST_RSPN_IDβ Waiting for host symbolic port name. same vibe but for the port name, fr fr.LPORT_ST_RFT_IDβ Register Fibre Channel types by ID (RFT_ID) sent. RFT_ID is out there, slay.LPORT_ST_RFF_IDβ Register FC-4 Features by ID (RFF_ID) sent. RFF_ID sent, iconic.LPORT_ST_FDMIβ Waiting for mgmt server rport to become ready. waiting on the mgmt server rport to be ready, ngl.LPORT_ST_RHBAβ Register HBA. registering the HBA, ate.LPORT_ST_RPAβ Register Port Attributes. port attributes getting registered, periodt.LPORT_ST_DHBAβ Deregister HBA. bye-bye HBA registration πLPORT_ST_DPRTβ Deregister Port. port deregistration era.LPORT_ST_SCRβ State Change Register (SCR) sent. SCR sent, no cap.LPORT_ST_READYβ Ready for use. the moment we've all been waiting for πLPORT_ST_LOGOβ Local port logout (LOGO) sent. LOGO sent, it's giving goodbye.LPORT_ST_RESETβ Local port reset. resetting the local port, main character energy.
π SEE ALSO π
like all the related besties, linked together:
- Kernel file
./include/scsi/libfc.h enum fc_rport_state(9)struct fc_disc_port(9)enum fc_rport_event(9)struct fc_rport_operations(9)struct fc_rport_libfc_priv(9)struct fc_rport_priv(9)struct fc_stats(9)struct fc_seq_els_data(9)struct fc_fcp_pkt(9)struct fc_seq(9)struct fc_exch(9)struct fc_disc(9)struct fc_lport(9)struct fc4_prov(9)fc_lport_test_ready(9)fc_set_wwnn(9)fc_set_wwpn(9)fc_lport_state_enter(9)fc_lport_init_stats(9)fc_lport_free_stats(9)lport_priv(9)libfc_host_alloc(9)
bestie if you're digging into libfc port states, you're already iconic. just remember: every state matters, even the reset one πβ¨
xoxo, your Unix bestie π«Ά β source straight from ./include/scsi, dated October 2026. catch you in the next manpage, mwah ππΈ
π¦ 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