devl_rate_leaf_destroy(9)
π devl_rate_leaf_destroy(9) β like, the Kernel API Manual, bestie π
okay so picture this: you're deep in the Kernel API Manual (that's the manual name, iykyk, we're in section 9 β kernel API πΈ) and you need to yeet a devlink rate leaf into the void. that's literally this page. let's go β¨
β¨ NAME β¨
devl_rate_leaf_destroy β destroy devlink rate leaf π¦
like, it destroys it. the leaf. the devlink rate one. no cap π
β¨ SYNOPSIS β¨
void devl_rate_leaf_destroy (struct devlink_port *devlink_port );
that's it, that's the whole vibe. void return, one argument, periodt π
β¨ ARGUMENTS β¨
devlink_portβ the devlink port linked to the rate object π«Ά yes bestie, this is the one you're handing over. it's astruct devlink_port *, so pointer energy only, main character energy only π
β¨ DESCRIPTION β¨
so what does it actually do? it destroys the devlink rate object of type leaf on the provided devlink_port π₯ that's the whole thing. leaf? gone. destroyed. bye ππ
no surprises, no hidden lore β it's giving "cleanup era" and honestly? iconic π
β¨ SEE ALSO β¨
- the kernel file
./net/devlink/rate.cβ that's where the magic lives, go read it, i'm obsessed π devl_rate_node_create(9)devl_rate_leaf_create(9)devl_rate_nodes_destroy(9)
all your rate siblings, all in one friend group π§β¨
ngl bestie, this one's short β but every detail matters, so don't skip the SEE ALSOs fr fr π
and that's the page!! brought to you by <rainbow>./net/devlink` β dated October 2026 β so go forth, destroy that leaf, and slay π
ππΈ
π¦ 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