devlink_por...s_pci_sf_set(9)
β¨ NAME β¨
ok so this is devlink_port_attrs_pci_sf_set β the one and only Set PCI SF port attributes girlie π
and yes we're reading it out of the Kernel API Manual together, bestie, don't panic
πΈ SYNOPSIS πΈ
void devlink_port_attrs_pci_sf_set (struct devlink_port *devlink_port ,
u32 controller , u16 pf , u32 sf , bool external );
no cap, that's the whole signature π«Ά just a void function doing its little attribute-setting thing, nothing returned, nothing asked back
π ARGUMENTS π
devlink_portβ the devlink port itself, like literally the port bestie π this is the thing whose attributes are getting setcontrollerβ the associated controller number for the devlink port instance (typing:u32) β¨pfβ the associated PCI function number for the devlink port instance (typing:u16, so she's a little shorter than the others, we respect that) π¦sfβ the associated SF number of a PF for the devlink port instance β like, an SF belonging to a PF, iykyk π₯externalβ aboolthat indicates if the port is for an external controller π (think "is this an external-controller situation or not", yes/no, that's it)
π SEE ALSO π
okay this is the friend group, the whole squad, and they all live in the Kernel file ./net/devlink/port.c π go say hi to:
devlink_port_init(9)devlink_port_fini(9)devl_port_register_with_ops(9)devlink_port_register_with_ops(9)devl_port_unregister(9)devlink_port_unregister(9)devlink_port_type_eth_set(9)devlink_port_type_ib_set(9)devlink_port_type_clear(9)devlink_port_attrs_set(9)devlink_port_attrs_pci_pf_set(9)devlink_port_attrs_pci_vf_set(9)devl_port_fn_devlink_set(9)devlink_port_linecard_set(9)
bestie listen π this is kernel API territory β it's giving "read the source before you call me", not "vibes-based coding". stay safe out there π§
and that's the whole page, fr fr π it came from ./net/devlink, dated October 2026, and it lives in the Kernel API Manual β slay, go read some more manpages, ily, bye πβ¨π¦
π¦ 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