mlx5_esw_put(9)
π 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):
- Kernel file
./drivers/net/ethernet/mellanox/mlx5/core/eswitch.cβ like, literally go read the source bestie, she's right there mlx5_esw_query_functions(9)mlx5_eswitch_enable_locked(9)mlx5_eswitch_enable(9)mlx5_esw_hold(9)mlx5_esw_release(9)mlx5_esw_get(9)mlx5_esw_try_lock(9)mlx5_esw_unlock(9)mlx5_eswitch_get_total_vports(9)mlx5_eswitch_get_core_dev(9)
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
- 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