RDMA/mlx5: Use new command interface API
authorSaeed Mahameed <saeedm@mellanox.com>
Sat, 17 Aug 2019 10:06:35 +0000 (03:06 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 23 Feb 2022 23:21:59 +0000 (15:21 -0800)
commitc76a1e90ad4e98e41f673d7634b1ac4a066d0cea
tree3c98f978ff2f66476011794a700cd415eeea6be5
parent0a41527608e7f3da61e76564f5a8749a1fddc7f1
RDMA/mlx5: Use new command interface API

DEVX can now use mlx5_cmd_do() which will not intercept the command
execution status and will provide full information of the return code.

DEVX can now propagate the error code safely to upper layers, to
indicate to the callers if the command was actually executed and the
error code indicates the command execution status availability in
the command outbox buffer.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Artemy Kovalyov <artemyko@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/infiniband/hw/mlx5/devx.c