STRUCT PDS_LM_DIRTY_DISABLE_CMD(9)
π struct pds_lm_dirty_disable_cmd β DIRTY_DISABLE command β¨
ok so this is a page from the Kernel API Manual (yes, the actual kernel docs, we're fancy now π) and today's main character is struct pds_lm_dirty_disable_cmd. Bestie, it's giving "small struct, big job" energy and I'm obsessed.
πΈ NAME πΈ
struct pds_lm_dirty_disable_cmd β the DIRTY_DISABLE command. that's it, that's the name, she's blunt and she knows it π
π¦ SYNOPSIS π¦
struct pds_lm_dirty_disable_cmd {
u8 opcode;
u8 rsvd;
__le16 vf_id;
};
like, look at her. three fields. nothing extra. minimalism slay β¨
π Members π
opcodeβ this is the opcodePDS_LM_CMD_DIRTY_DISABLE. literally her whole identity in one byte ngl.rsvdβ reserved word-boundary padding π she's just there so everything lines up. filler queen but make it structural.vf_idβ the VF id. that's the vibe. iykyk.
π Description π
okay so here's the tea π: dirty page tracking gets disabled. that's the whole assignment and she ate.
the way this works is β you can call this in any state, literally any, as long as dirty page tracking is supported by the device. the point is just to make sure dirty page tracking ends up disabled. no cap, that's the entire goal. π
also important: this command uses struct pds_lm_dirty_status_comp for its completion. and on success? num_regions will be zero. so if you see a zero there, that's your win, go celebrate π
π SEE ALSO π
the whole extended friend group, fr fr β these are all from the 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_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_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 i said. big friend group. everyone's invited π«Ά
aaaand that's the page!! brought to you by ./include/linux/pds, dated October 2026 π mwah, go disable some dirty page tracking responsibly, bestie ππ₯
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms