ENUM ZFCP_FC_WKA_STATUS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum zfcp_fc_wka_status(9) πŸ¦‹

okay so bestie, welcome to the Kernel API Manual β€” yes that Kernel API Manual β€” and today's main character is enum zfcp_fc_wka_status, the little enum that keeps track of what's going on with an FC WKA port in zfcp. it's giving "backstage pass to the port's whole mood" and honestly? iconic. πŸ’…


✨ NAME ✨

enum zfcp_fc_wka_status β€” FC WKA port status in zfcp

so like, the whole personality of this thing is: it's the status enum. for a WKA port. in zfcp. that's the vibe. πŸŽ€


🌸 SYNOPSIS 🌸

here's the literal shape of it, no notes, exactly as it is:

enum zfcp_fc_wka_status {
    ZFCP_FC_WKA_PORT_OFFLINE ,
    ZFCP_FC_WKA_PORT_CLOSING ,
    ZFCP_FC_WKA_PORT_OPENING ,
    ZFCP_FC_WKA_PORT_ONLINE

};

four constants, four moods, one enum. slay. ✨


πŸ’– Constants πŸ’–

okay let's meet the four states one by one, they each have a whole personality:

  • ZFCP_FC_WKA_PORT_OFFLINE β€” Port is closed and not in use. like she's not even in the group chat rn, fully offline, not in use, nothing happening. πŸ’€
  • ZFCP_FC_WKA_PORT_CLOSING β€” The FSF "close port" request is pending. so she said she's leaving but the paperwork (the FSF "close port" request) is still pending. we've all been there. πŸ™ˆ
  • ZFCP_FC_WKA_PORT_OPENING β€” The FSF "open port" request is pending. opposite energy, same waiting room: the FSF "open port" request is pending and we're all just sitting here refreshing. 🫢
  • ZFCP_FC_WKA_PORT_ONLINE β€” The port is open and the port handle is valid. main character energy fr fr, open for business, handle valid, living her best life. πŸ‘‘πŸ”₯

πŸ”₯ SEE ALSO πŸ”₯

bestie you already know we're citing the source β€” it all lives in the kernel file ./drivers/s390/scsi/zfcp_fc.h, and here's the whole friend group:

  • struct zfcp_fc_event(9)
  • struct zfcp_fc_events(9)
  • struct zfcp_fc_gid_pn_req(9)
  • struct zfcp_fc_gid_pn_rsp(9)
  • struct zfcp_fc_gspn_req(9)
  • struct zfcp_fc_gspn_rsp(9)
  • struct zfcp_fc_rspn_req(9)
  • struct zfcp_fc_req(9)
  • struct zfcp_fc_wka_port(9)
  • struct zfcp_fc_wka_ports(9)
  • zfcp_fc_scsi_to_fcp(9)
  • zfcp_fc_fcp_tm(9)

a whole friend group of structs and functions, and yes they all ate. πŸ’œ


ngl, if you're poking at a WKA port, check the status first β€” that's literally what this enum is for, iykyk. 🌈

that's the whole page bb πŸ’– source: ./drivers/s390/scsi, dated October 2026, filed under enum zfcp_fc_wka_status(9) β€” mwah, go read the header, ily, bye! πŸŽ€β­πŸ“

πŸ“¦ where this page comes from