mlx5hws_action_get_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mlx5hws_action_get_dev(9)

okay so welcome to the Kernel API Manual, bestie β€” this one's short and sweet, no cap. It's mlx5hws_action_get_dev, and it does exactly one thing. One. Singular. Main character energy of a function that knows its purpose and isn't about to overcomplicate things πŸŽ€


✨ NAME ✨

mlx5hws_action_get_dev β€” get the mlx5 core device. that's it. that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

struct mlx5_core_dev * mlx5hws_action_get_dev (struct mlx5hws_action
*action );

like look at that signature, it's giving "I have one job and I do it flawlessly" πŸ’–


✨ ARGUMENTS ✨

  • action β€” the action you wanna pull the device out of. that's the whole input, bestie, hand it over and we're done 🌸

✨ RETURN ✨

it hands you back the mlx5 core device β€” the actual struct mlx5_core_dev *. gorgeous. iconic. no surprises 🫢


✨ SEE ALSO ✨

fr fr go read the kernel file first, it's the source of truth:

./drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws.h

and then the whole friend group, in order, don't skip anyone 😭:

iykyk β€” that's the entire hws squad, so if you're lost, you're literally one click away from not being lost πŸ’€βœ¨

and that's the page, bestie!! slay 🧚 this cutie dropped from ./drivers/net/ethernet/mellano... back in October 2026, and yeah the version line got a lil truncated in the excerpt but that's the vibe fr fr. mwah πŸ’œ πŸŽ€ πŸ‘‘

πŸ“¦ where this page comes from