STRUCT PDS_CORE_VF_SETATTR_CMD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ 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.h struct pds_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