mlx5_esw_put(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5_esw_put(9) β€” a Kernel API Manual moment

okay so bestie, welcome to the Kernel API Manual page for mlx5_esw_put. yes it's a whole manual page for one function and honestly? iconic of it. let's get into it πŸŽ€


✨ NAME ✨

mlx5_esw_put β€” Decrease esw user count. that's the whole vibe. it's the "k, i'm done now, one less of me" of the ethernet switch world πŸ’…


🌸 SYNOPSIS 🌸

void mlx5_esw_put (struct mlx5_core_dev *mdev );

look at her. void return, so she's not bringing anything back for you β€” no return value, no drama, no receipts. she just decrements and goes home πŸ¦‹


🫢 ARGUMENTS 🫢

  • mdev β€” mlx5 core device. yeah. that's it. that's the argument. the device, the mlx5 core one. she needs it to know whose user count she's out here decreasing. no cap πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

the girlies in the same friend group (iykyk):

like, mlx5_esw_get(9) is literally her opposite β€” the hold/put, get/release situation is giving balanced energy. main character and her reflection fr fr 🌈


lowkey reminder: this page is short because the function is short. don't go inventing extra behaviour for her, she's just here to decrease the user count πŸ’€

signed, sealed, delivered by the source ./drivers/net/ethernet/mellano... β€” version vibe check dated October 2026, and yeah, she's still mlx5_esw_put(9) down at the bottom too πŸ˜­πŸ’œ slay, go decrement something responsibly 🧚

πŸ“¦ where this page comes from