devlink_por...s_pci_sf_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 set
  • controller β€” 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 β€” a bool that 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:


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