aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx5/devx.c
diff options
context:
space:
mode:
authorSaeed Mahameed <[email protected]>2019-08-17 10:05:10 +0000
committerSaeed Mahameed <[email protected]>2022-02-23 23:21:59 +0000
commitf23519e542e51c19ab3081deb089bb3f8fec7bb9 (patch)
tree43f98eaa826e0932b411312c19772abb2657f81c /drivers/infiniband/hw/mlx5/devx.c
parentnet/mlx5: cmdif, cmd_check refactoring (diff)
downloadkernel-f23519e542e51c19ab3081deb089bb3f8fec7bb9.tar.gz
kernel-f23519e542e51c19ab3081deb089bb3f8fec7bb9.zip
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 <[email protected]> Reviewed-by: Moshe Shemesh <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/devx.c')
0 files changed, 0 insertions, 0 deletions