devl_port_fn_devlink_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so first things first, this is a page from the Kernel API Manual, section 9 β€” yes bestie, we're in the deep kernel lore now, man 9 territory, very main character of you πŸ’…

🌸 NAME 🌸

devl_port_fn_devlink_set β€” the function that attaches a peer devlink instance to a port function 🫢 like it's literally matchmaking but for kernel objects

πŸ¦‹ SYNOPSIS πŸ¦‹

int devl_port_fn_devlink_set (struct devlink_port *devlink_port , struct devlink *fn_devlink );

yep that's the whole signature, no cap β€” it returns an int, and it takes two pointers, and that's the vibe 🌈

πŸŽ€ ARGUMENTS πŸŽ€

  • devlink_port β€” the devlink port 🌸 this is the one getting a new peer attached to it, she's the main character here
  • fn_devlink β€” the devlink instance to attach πŸ’– this is the peer being introduced to the port function
ngl bestie, that's it β€” those are the only two args, the kernel kept it cute and simple ✨

πŸ‘‘ SEE ALSO πŸ‘‘

this is where it gets iconique, because there's a whole friend group of related functions and they all live in the kernel file ./net/devlink/port.c πŸ”₯ so if you're reading this one, you're probably gonna need her sisters too:


and that's the whole page, periodt πŸ§šπŸ’œ

cute little sign-off to close it out: this one comes from ./net/devlink, dated October 2026 β€” so mark your calendars, bestie, and go attach some peer devlink instances responsibly πŸ“πŸ’–

πŸ“¦ where this page comes from