STRUCT DEVLINK_PORT_PCI_VF_ATTRS(9)
β¨ struct devlink_port_pci_vf_attrs(9) β¨
okay bestie, welcome to the <struct devlink_port_pci_vf_attrs> page from the Kernel API Manual π
this little cutie holds a devlink port's PCI VF attributes, and honestly? it's giving "small struct, big responsibilities." let's get into it π«Ά
πΈ NAME πΈ
struct devlink_port_pci_vf_attrs β devlink port's PCI VF attributes, no cap, that's literally it π
π SYNOPSIS π
struct devlink_port_pci_vf_attrs {
u32 controller;
u16 pf;
u16 vf;
u8 external:1;
};
look at her. four members. immaculate. β¨
π Members π
controllerβ the associated controller number. like, which controller this port is vibing with π¦pfβ the associated PCI function number for the devlink port instance. yes queen, function number, we respect it πvfβ the associated PCI VF number of a PF for the devlink port instance. and listen β the VF number starts from0for the first PCI virtual function, so don't come in here counting from one, that's not the vibe πexternalβ when this bit is set, it indicates if a port is for an external host controller. it's au8bitfield with exactly:1bit, so it's doing the absolute most with the absolute least π
π SEE ALSO π
bestie, the whole devlink family reunion is here. all of these live in the kernel file ./include/net/devlink.h β
struct devlink_port_pci_pf_attrs(9)struct devlink_port_pci_sf_attrs(9)struct devlink_port_attrs(9)struct devlink_linecard_ops(9)struct devlink_dpipe_field(9)struct devlink_dpipe_header(9)struct devlink_dpipe_match(9)struct devlink_dpipe_action(9)struct devlink_dpipe_value(9)struct devlink_dpipe_entry(9)struct devlink_dpipe_dump_ctx(9)struct devlink_dpipe_table(9)struct devlink_dpipe_table_ops(9)struct devlink_dpipe_headers(9)struct devlink_resource_size_params(9)struct devlink_flash_notify(9)struct devlink_param(9)struct devlink_flash_update_params(9)struct devlink_region_ops(9)struct devlink_port_region_ops(9)struct devlink_health_reporter_ops(9)struct devlink_trap_metadata(9)struct devlink_trap_policer(9)struct devlink_trap_group(9)struct devlink_trap(9)struct devlink_port_ops(9)
that's the whole group chat and every single one of them ate π₯
ok that's the page! no warnings, no bugs, no exit statuses to freak out about β just pure struct serenity π§
and that's a wrap, bestie π this came to you from ./include/net, dated October 2026, and yes the header and footer both said struct devli...pci_vf_attrs(9) because the terminal truncates names like it's personally attacking us π anyway, stan devlink, periodt ππΈ
π¦ 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