STRUCT DEVLINK_PORT_PCI_PF_ATTRS(9)
π struct devlink_port_pci_pf_attrs(9)
okay so bestie, we're in the Kernel API Manual and this page is literally all about struct devlink_port_pci_pf_attrs β the devlink port's PCI PF attributes, no cap. it's giving "small struct, big job" energy and honestly? iconic. π
β¨ NAME β¨
struct devlink_port_pci_pf_attrs β the devlink port's PCI PF attributes, periodt. π
π¦ SYNOPSIS π¦
struct devlink_port_pci_pf_attrs {
u32 controller;
u16 pf;
u8 external:1;
};
look at her. three members, one lil bitfield, flawless. πΈ
π Members π
controllerβ the associated controller number. it's the controller she's rolling with, okay?! π«Άpfβ the associated PCI function number for the devlink port instance. yes, that PF. the one your port instance is attached to. πexternalβ when this is set, it indicates if a port is for an external host controller. it's a single bit and it's carrying a whole lot of "wait, is this port for an external host controller?" on its tinyu8 external:1shoulders. ππ
π SEE ALSO π
the whole devlink extended family showed up to the group chat, so let's list every single one because we do not leave anyone on read π
struct devlink_port_pci_vf_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)
and where does she live? kernel file ./include/net/devlink.h, obvi. that's her address, that's her home, that's her main character location. π¦β¨
heads up bestie: if you actually go touch this in real life, the source of truth is that kernel file ./include/net/devlink.h β always check there, iykyk. π
kisses and bye-byes, this page came from ./include/net and was dated October 2026 β drink some water, hydrate your kernel, and slay the rest of your day π₯π§π
π¦ 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