STRUCT PDS_VDPA_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pds_vdpa_cmd(9) β€” the glow-up

okay so bestie, this page lives in the Kernel API Manual section, and it's literally all about struct pds_vdpa_cmd β€” the generic command. that's the whole vibe. one struct, three fields, infinite possibilities ✨


✨ NAME ✨

struct pds_vdpa_cmd β€” the generic command πŸŽ€

like, it's the plain little envelope that carries your opcode and tells everyone which vdpa subdevice and which VF you're talking about. nothing extra, no notes, just vibes and a payload header πŸ¦‹


🌸 SYNOPSIS 🌸

struct pds_vdpa_cmd {
    u8 opcode;
    u8 vdpa_index;
    __le16 vf_id;
 };

that's it. that's the whole struct. copy it exactly, bestie β€” character for character, no "fixing" the spacing, no renaming, we do not touch the code πŸ™ˆ


πŸ‘‘ Members πŸ‘‘

okay so here's the cast, and every single one of them matters:

  • opcode β€” the opcode, periodt. it's the thing that tells everyone what this command actually is πŸ’«
  • vdpa_index β€” the index for the vdpa subdevice 🌈. yes, this is how you point at which subdevice you mean
  • vf_id β€” the VF id πŸ’œ. that's the virtual function's id, no cap
ngl these names are doing the absolute most by doing the absolute least, and honestly? iconic. main character energy from a three-field struct πŸ”₯

πŸ”— SEE ALSO πŸ”—

okay this list is long long β€” like, genuinely a whole group chat of sibling structs and enums. but you asked for all of them so here's all of them, exactly as they come, no skips, no "etc." bestie πŸ’€

  • 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_lif_getattr_comp(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_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)

like yes, all 71 of them, i counted, you're welcome 🫢


and that's the page, bestie β€” short, sweet, and structurally adorable. shoutout to ./include/linux/pds for housing this whole family of headers, and to the October 2026 version stamp for keeping it fresh πŸŒΈπŸ’– slay, go read the SEE ALSOs, and remember: the vibe changes, the facts do not πŸ‘‘

πŸ“¦ where this page comes from