STRUCT PDS_VDPA_SET_FEATURES_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct pds_vdpa_set_features_cmd ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this one's a struct page and honestly it's kind of a vibe. It's struct pds_vdpa_set_features_cmd, and it does exactly what it says on the tin: it's the little packet you send to tell the hardware which features are on. no cap, that's the whole plot. let's get into it πŸ’–


🌸 NAME 🌸

struct pds_vdpa_set_features_cmd β€” set hw features. literally the "hey hardware, turn these on" struct πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

struct pds_vdpa_set_features_cmd {
    u8 opcode;
    u8 vdpa_index;
    __le16 vf_id;
    __le32 rsvd;
    __le64 features;
 };

look at her. so tidy. so aligned. the word-boundary padding is doing its little job and we love that for her πŸ’…


✨ Members ✨

  • opcode β€” the opcode, and it's PDS_VDPA_CMD_SET_FEATURES 🎯 that's how the hardware knows what kind of command this is.
  • vdpa_index β€” the index for the vdpa subdevice πŸ”’ which one are we talking to, bestie.
  • vf_id β€” the VF id πŸ†”
  • rsvd β€” word boundary padding 🧚 it's just there to keep things lined up, no thoughts, head empty, purely structural.
  • features β€” the feature bit mask 🌈 this is the actual payload, the whole point, the main character. every bit is a feature flag.

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./include/linux/pds/pds_adminq.h πŸ“

and the entire extended family, fr fr β€” no gatekeeping, here's everybody πŸ‘‡

  • 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_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_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, the whole friend group showed up 😭 go say hi to all of them, iykyk πŸ’œ


that's the page bestie, go forth and set those features πŸ”₯ mwah πŸ’‹

β€” and before you close the tab: this lil beauty lives in ./include/linux/pds, stamped October 2026. iconic. periodt. 🌟

πŸ“¦ where this page comes from