mlx5_cmd_exec_polling(9)
β¨ 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 inboxmlx5_ifccommand bufferin_sizeβ the inbox buffer sizeoutβ the outboxmlx5_ifcbufferout_sizeβ the outbox size
π RETURN π
Returns 0 if no error: FW command execution was successful and outbox status is ok. no cap β¨
π SEE ALSO π
- kernel file:
./drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_cmd_do(9)mlx5_cmd_exec(9)mlx5_cmd_cleanup_async_ctx(9)
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
- 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