linux/drivers/infiniband
Saeed Mahameed 0a41527608 net/mlx5: cmdif, Refactor error handling and reporting of async commands
Same as the new mlx5_cmd_do API, report all information to callers and
let them handle the error values and outbox parsing.

The user callback status "work->user_callback(status)" is now similar to
the error rc code returned from the blocking mlx5_cmd_do() version,
and now is defined as follows:

 -EREMOTEIO : Command executed by FW, outbox.status != MLX5_CMD_STAT_OK.
              Caller must check FW outbox status.
 0 : Command execution successful,  outbox.status == MLX5_CMD_STAT_OK.
 < 0 : Command couldn't execute, FW or driver induced error.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
2022-02-23 15:21:59 -08:00
..
core RDMA v5.17 merge window pull request 2022-01-13 11:09:11 -08:00
hw net/mlx5: cmdif, Refactor error handling and reporting of async commands 2022-02-23 15:21:59 -08:00
sw Merge branch 'akpm' (patches from Andrew) 2022-01-20 10:41:01 +02:00
ulp RDMA/rtrs-clt: Rename rtrs_clt to rtrs_clt_sess 2022-01-07 10:07:31 -04:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00