devl_rate_nodes_destroy(9)
π devl_rate_nodes_destroy β a Kernel API Manual moment
okay bestie, welcome to the kernel API manual β¨ this one's a void function in the devlink rate world and it's literally the cleanup queen of the whole page, no cap π§Ήπ
πΈ NAME πΈ
devl_rate_nodes_destroy β destroy all devlink rate nodes on device π
β¨ SYNOPSIS β¨
void devl_rate_nodes_destroy (struct devlink *devlink );
π«Ά ARGUMENTS π«Ά
devlinkβ the devlink instance. that's it, that's the whole argument, she's lowkey simple like that π
π DESCRIPTION π
okay so here's the tea β β this function unsets the parent for all rate objects involving this device, and then it destroys all rate nodes on it ππ₯
read that again bestie: every single rate object tied to this device gets its parent unset, and every rate node on the device gets yeeted into the void. full send. it's giving "closing time at the function party" ππ¦
π SEE ALSO π
- the kernel file
./net/devlink/rate.cπ (home of the whole rate squad) devl_rate_node_create(9)devl_rate_leaf_create(9)devl_rate_leaf_destroy(9)
like, if this page is the "destroy all nodes" finale, those three are the origin story β go read them, iykyk ππ
and that's the whole vibe check, bestie π«Ά this page lives in ./net/devlink and it's dated October 2026 β so yeah, that's the source, the version, and the date all in one cute little sign-off ππ periodt.
π¦ 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