STRUCT PDS_CORE_VF_SETATTR_CMD(9)
π¦ struct pds_core_vf_setattr_cmd(9) π¦
okay so bestie, welcome to the Kernel API Manual π β this is the page for struct pds_core_vf_setattr_cmd, and it's lowkey a whole mood. No cap, it's here to Set VF attributes on the NIC β¨.
πΈ NAME πΈ
struct pds_core_vf_setattr_cmd β Set VF attributes on the NIC π
β¨ SYNOPSIS β¨
here's the exact struct, character for character, so don't come for me:
struct pds_core_vf_setattr_cmd {
u8 opcode;
u8 attr;
__le16 vf_index;
union {
u8 macaddr[6];
__le16 vlanid;
__le32 maxrate;
u8 spoofchk;
u8 trust;
u8 linkstate;
struct {
__le64 pa;
__le32 len;
} stats;
u8 pad[60];
};
};
π Members π
okay the member list is giving "everything has a job and it's cute" π«Ά:
opcodeβ Opcode π yes, that's literally the whole description; iconic minimalism.attrβ Attribute type (enum pds_core_vf_attr) πvf_indexβ VF index π’{unnamed_union}β anonymous π«£ the unnamed union is doing anonymous-union things.macaddrβ mac address πvlanidβ vlan ID π·οΈmaxrateβ max Tx rate in Mbps π₯spoofchkβ enable address spoof checking π΅οΈtrustβ enable VF trust π€linkstateβ set link up or down πstatsβ stats addr struct πstats.paβ set DMA address for VF stats π§stats.lenβ length of VF stats space πpadβ force union to specific size π§
π«Ά SEE ALSO π«Ά
bestie, the reference list is long and it ATE π β every single one is here, no skips:
- Kernel file
./include/linux/pds/pds_core_if.hstructpds_core_drv_identity(9) enum pds_core_dev_capability(9)struct pds_core_dev_identity(9)struct pds_core_dev_identify_cmd(9)struct pds_core_dev_identify_comp(9)struct pds_core_dev_reset_cmd(9)struct pds_core_dev_reset_comp(9)struct pds_core_dev_init_cmd(9)struct pds_core_dev_init_comp(9)struct pds_core_fw_download_cmd(9)struct pds_core_fw_download_comp(9)enum pds_core_fw_control_oper(9)enum pds_core_fw_slot(9)struct pds_core_fw_control_cmd(9)struct pds_core_fw_control_comp(9)enum pds_core_vf_link_status(9)struct pds_core_vf_getattr_cmd(9)struct pds_core_vf_ctrl_cmd(9)struct pds_core_vf_ctrl_comp(9)struct pds_core_send_pkg_data_cmd(9)struct pds_core_send_pkg_data_comp(9)struct pds_core_component_tbl(9)struct pds_core_send_component_tbl_cmd(9)struct pds_core_send_component_tbl_comp(9)enum pds_core_send_component_op(9)struct pds_core_flash_component(9)struct pds_core_send_component_cmd(9)struct pds_core_send_component_comp(9)enum pds_core_fw_component_type(9)enum pds_core_component_info_flags(9)struct pds_core_fw_component_info(9)struct pds_core_component_list_info(9)struct pds_core_get_component_info_cmd(9)struct pds_core_get_component_info_comp(9)struct pds_core_finalize_update_cmd(9)struct pds_core_finalize_update_comp(9)struct pds_core_match_record_desc_cmd(9)struct pds_core_match_record_desc_comp(9)enum pds_core_host_mem_oper(9)struct pds_core_host_mem_cmd(9)struct pds_core_host_mem_comp(9)struct pds_core_dev_hwstamp_regs(9)struct pds_core_dev_info_regs(9)struct pds_core_dev_cmd_regs(9)struct pds_core_dev_regs(9)
kiss kiss π β this page lives in the Kernel API Manual, source ./include/linux/pds, dated October 2026, and it's the struct pds_c..._setattr_cmd(9) page. slay β¨
π¦ 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