diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2020-04-01 08:03:00 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2022-02-24 02:21:59 +0300 |
commit | 0a41527608e7f3da61e76564f5a8749a1fddc7f1 (patch) | |
tree | fc7985968180241e2a52cc39fc9dd0bd6937c0b4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 31803e59233efc838b9dcb26edea28a4b2389e97 (diff) | |
download | linux-0a41527608e7f3da61e76564f5a8749a1fddc7f1.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions