mlx5_eswitch_get_core_dev(9)
π NAME π
hey bestie, welcome to the mlx5_eswitch_get_core_dev(9) page from the Kernel API Manual β¨ this function is literally called mlx5_eswitch_get_core_dev and its whole name-section vibe is: Get the mdev device π
β¨ SYNOPSIS β¨
struct mlx5_core_dev * mlx5_eswitch_get_core_dev (struct mlx5_eswitch
*esw );
π ARGUMENTS π
eswβ eswitch device. that's the input, bestie π«Ά
π¦ DESCRIPTION π¦
okay so this is lowkey simple: it returns the mellanox core device which manages the eswitch. that's the whole plot π the eswitch is right there, and this function hands you back the core device in charge of it π
πΈ SEE ALSO πΈ
- Kernel file
./drivers/net/ethernet/mellanox/mlx5/core/eswitch.c 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_put(9)mlx5_esw_try_lock(9)mlx5_esw_unlock(9)mlx5_eswitch_get_total_vports(9)
and that's the page, bestie π this cutie came from ./drivers/net/ethernet/mellano... and was stamped October 2026 β 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