STRUCT ZFCP_FC_WKA_PORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is struct zfcp_fc_wka_port β€” the representation of a well-known-address (WKA) FC port, bestie πŸ’…. it's from the Kernel API Manual, and it's genuinely iconic for what it does. periodt.


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole vibe, literally character for character:

struct zfcp_fc_wka_port {
    struct zfcp_adapter     *adapter;
    wait_queue_head_t opened;
    wait_queue_head_t closed;
    enum zfcp_fc_wka_status status;
    atomic_t refcount;
    u32 d_id;
    u32 handle;
    struct mutex            mutex;
    struct delayed_work     work;
 };

ngl, that's the entire main character right there πŸ‘‘


πŸŽ€ Members πŸŽ€

every single field, no skips, no cap:

  • adapter β€” a pointer to the adapter structure that this WKA port belongs to 🫢
  • opened β€” the wait queue situation: you're waiting for the open command to complete
  • closed β€” same energy but for the close command completing
  • status β€” the current status of the WKA port, iykyk
  • refcount β€” reference count whose whole job is keeping the port open for as long as it's in use πŸ”₯
  • d_id β€” the FC destination id, or the well-known-address itself
  • handle β€” the FSF handle for the open WKA port
  • mutex β€” mutex used during opening/closing state changes (protecting the vibes πŸ’€)
  • work β€” for delaying the closing of the WKA port 🌸

🌈 SEE ALSO 🌈

the kernel file is ./drivers/s390/scsi/zfcp_fc.h and honestly the whole friend group is here:

  • 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)
  • enum zfcp_fc_wka_status(9)
  • struct zfcp_fc_wka_ports(9)
  • zfcp_fc_scsi_to_fcp(9)
  • zfcp_fc_fcp_tm(9)

bestie please note: this page lives under ./drivers/s390/scsi and it's dated October 2026, so yeah, she's from the future bestie πŸ’œ

k that's it, go forth and slay your FC ports πŸ§šβ€β™€οΈβœ¨πŸŽ€

πŸ“¦ where this page comes from