mlx5_cmd_exec_polling(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so this is mlx5_cmd_exec_polling(9) from the Kernel API Manual, and she is literally the function that executes a fw command and polls for completion. It’s needed for driver force teardown, when command completion EQ will not be available to complete the command. periodt πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

vibe check the signature, bestie β€” keep it exact:

int mlx5_cmd_exec_polling (struct mlx5_core_dev *dev , void *in , int
in_size , void *out , int out_size );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the mlx5 core device πŸ’–
  • in β€” the inbox mlx5_ifc command buffer
  • in_size β€” the inbox buffer size
  • out β€” the outbox mlx5_ifc buffer
  • out_size β€” the outbox size

πŸ’œ RETURN πŸ’œ

Returns 0 if no error: FW command execution was successful and outbox status is ok. no cap ✨


🌈 SEE ALSO 🌈

bestie note: that’s the whole bestie lineup β€” go check them out if you want the full command-side lore 🫢

cute lil sign-off: source/version is ./drivers/net/ethernet/mellano..., dated October 2026 πŸ’… bye bestie, go poll responsibly πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from