diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2019-08-17 03:05:10 -0700 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-23 15:21:59 -0800 |
commit | f23519e542e51c19ab3081deb089bb3f8fec7bb9 (patch) | |
tree | 43f98eaa826e0932b411312c19772abb2657f81c /drivers/cxl | |
parent | 605bef0015b163867127202b821dce79804d603d (diff) |
net/mlx5: cmdif, Add new api for command execution
Add mlx5_cmd_do. Unlike mlx5_cmd_exec, this function will not modify
or translate outbox.status.
The function will return:
return = 0: Command was executed, outbox.status == MLX5_CMD_STAT_OK.
return = -EREMOTEIO: Executed, outbox.status != MLX5_CMD_STAT_OK.
return < 0: Command execution couldn't be performed by FW or driver.
And document other mlx5_cmd_exec functions.
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions