STRUCT PDS_CORE_LIF_GETATTR_COMP(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct pds_core_lif_getattr_comp(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” yes that's the manual name, and yes we're reading kernel API docs together, that's just the kind of friendship we have 🫢. Today's main character is struct pds_core_lif_getattr_comp β€” literally the completion struct for the LIF get attr command. slay.


✨ NAME ✨

struct pds_core_lif_getattr_comp β€” the LIF get attr command completion. that's it, that's the whole vibe πŸ’…


🌸 SYNOPSIS 🌸

struct pds_core_lif_getattr_comp {
    u8 status;
    u8 rsvd;
    __le16 comp_index;
    union {
      u8 state;
      __le64 features;
      u8 rsvd2[11];
    };
    u8 color;
};

look at her. structured. aligned. iconic. πŸŽ€


πŸ¦‹ Members πŸ¦‹

okay so let's go member by member, no cap, nothing skipped:

  • status β€” the status of the command. its type is enum pds_core_status_code. this is your vibe check on whether the thing worked or not πŸ’€
  • rsvd β€” word boundary padding. it's filler, it's chilling, it's holding space 🧚
  • comp_index β€” the index in the descriptor ring for which this is the completion. yes bestie, she knows exactly which ring slot she belongs to 🎯
  • {unnamed_union} β€” an anonymous union. no name, all mystery. main character energy tbh ✨
    • state β€” the LIF state. type is enum pds_core_lif_state 🌈
    • features β€” the features. type is enum pds_core_hw_features πŸ”₯
    • rsvd2 β€” word boundary padding (again!! she's a u8 rsvd2[11], she's doing her job) 🫢
  • color β€” the color bit πŸ’œ

⭐ SEE ALSO ⭐

the whole extended friend group shows up here, and we do not gatecrash-drop anyone. every single one:

  • Kernel file ./include/linux/pds/pds_adminq.h struct
  • pds_core_notifyq_event(9)
  • struct pds_core_link_change_event(9)
  • struct pds_core_reset_event(9)
  • struct pds_core_client_event(9)
  • struct pds_core_notifyq_cmd(9)
  • struct pds_core_client_reg_cmd(9)
  • struct pds_core_client_reg_comp(9)
  • struct pds_core_client_unreg_cmd(9)
  • struct pds_core_client_request_cmd(9)
  • enum pds_core_logical_qtype(9)
  • union pds_core_lif_config(9)
  • struct pds_core_lif_status(9)
  • struct pds_core_lif_info(9)
  • struct pds_core_lif_identity(9)
  • struct pds_core_lif_identify_cmd(9)
  • struct pds_core_lif_identify_comp(9)
  • struct pds_core_lif_init_cmd(9)
  • struct pds_core_lif_init_comp(9)
  • struct pds_core_lif_reset_cmd(9)
  • enum pds_core_lif_attr(9)
  • struct pds_core_lif_setattr_cmd(9)
  • struct pds_core_lif_setattr_comp(9)
  • struct pds_core_lif_getattr_cmd(9)
  • struct pds_core_q_identity(9)
  • struct pds_core_q_identify_cmd(9)
  • struct pds_core_q_identify_comp(9)
  • struct pds_core_q_init_cmd(9)
  • struct pds_core_q_init_comp(9)
  • struct pds_vdpa_cmd(9)
  • struct pds_vdpa_init_cmd(9)
  • struct pds_vdpa_ident(9)
  • struct pds_vdpa_ident_cmd(9)
  • struct pds_vdpa_status_cmd(9)
  • enum pds_vdpa_attr(9)
  • struct pds_vdpa_setattr_cmd(9)
  • struct pds_vdpa_vq_init_cmd(9)
  • struct pds_vdpa_vq_init_comp(9)
  • struct pds_vdpa_vq_reset_cmd(9)
  • struct pds_vdpa_vq_reset_comp(9)
  • struct pds_vdpa_set_features_cmd(9)
  • struct pds_lm_cmd(9)
  • struct pds_lm_state_size_cmd(9)
  • struct pds_lm_state_size_comp(9)
  • struct pds_lm_suspend_cmd(9)
  • struct pds_lm_suspend_status_cmd(9)
  • struct pds_lm_resume_cmd(9)
  • struct pds_lm_sg_elem(9)
  • struct pds_lm_save_cmd(9)
  • struct pds_lm_restore_cmd(9)
  • union pds_lm_dev_state(9)
  • struct pds_lm_dirty_region_info(9)
  • struct pds_lm_dirty_status_cmd(9)
  • enum pds_lm_dirty_bmp_type(9)
  • struct pds_lm_dirty_status_comp(9)
  • struct pds_lm_dirty_enable_cmd(9)
  • struct pds_lm_dirty_disable_cmd(9)
  • struct pds_lm_dirty_seq_ack_cmd(9)
  • struct pds_lm_host_vf_status_cmd(9)
  • struct pds_fwctl_cmd(9)
  • struct pds_fwctl_comp(9)
  • struct pds_fwctl_ident_cmd(9)
  • struct pds_fwctl_ident(9)
  • struct pds_fwctl_query_cmd(9)
  • struct pds_fwctl_query_comp(9)
  • struct pds_fwctl_query_data_endpoint(9)
  • struct pds_fwctl_query_data_operation(9)
  • struct pds_fwctl_query_data(9)
  • struct pds_fwctl_rpc_cmd(9)
  • struct pds_sg_elem(9)
  • struct pds_fwctl_rpc_comp(9)

ngl that's a lot of friends but every single one of them got invited, and that's on periodt πŸ’…

and that's the whole page bestie, hope the struct makes sense now πŸ’– this one lives in ./include/linux/pds and the version is stamped October 2026 β€” go off, calendar icon βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from