devl_rate_node_create(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… devl_rate_node_create(9) β€” from the Kernel API Manual πŸŽ€

okay bestie, buckle up, because today we're meeting devl_rate_node_create β€” yes that's the whole kernel-side name, she's extra like that ✨ and her whole job is literally create devlink rate node. iconic behaviour, no notes πŸ’…


✨ NAME ✨

devl_rate_node_create β€” create devlink rate node πŸ¦‹

like. that's her. that's the whole vibe check and she passed 🌸


🫢 SYNOPSIS 🫢

struct devlink_rate * devl_rate_node_create (struct devlink *devlink ,
void *priv , char *node_name , struct devlink_rate *parent );

yep, she takes four things and hands you back a struct devlink_rate * β€” literally the main character of this function πŸ’–


🌈 ARGUMENTS 🌈

  • devlink β€” the devlink instance, obviously πŸ’« she's the one hosting this whole situation
  • priv β€” driver private data, aka the driver's own little stash of stuff πŸ“
  • node_name β€” name of the resulting node! yeah, the name of the node that results, we love a descriptive queen πŸ‘‘
  • parent β€” parent devlink_rate struct β€” everyone's got a parent bestie, no cap 🧚

πŸ”₯ DESCRIPTION πŸ”₯

so like, the actual tea: this function creates a devlink rate object of type node ✨ that's it, that's the whole thing, and honestly? she ate πŸ’€ not me being obsessed with a one-line description but here we are πŸ™ˆ

ngl if you came here looking for a big dramatic backstory there isn't one β€” the kernel said "create devlink rate object of type node" and then went to get a matcha 🍡

πŸ’œ SEE ALSO πŸ’œ

iykyk β€” the whole rate.c friend group is linked here so you can go meet the siblings πŸ’–


and that's the page bestie!! πŸŽ€ this little number lives in ./net/devlink and the version/date stamp on it says October 2026, and the whole thing is filed under the name devl_rate_node_create(9) β€” periodt, slay, go forth and create your nodes βœ¨πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from