devl_rate_node_create(9)
π 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 situationprivβ 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β parentdevlink_ratestruct β 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 π
- the kernel file
./net/devlink/rate.cβ go read her, she's right there π devl_rate_leaf_create(9)πdevl_rate_leaf_destroy(9)πdevl_rate_nodes_destroy(9)πͺοΈ
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
- 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