diff options
author | Saeed Mahameed <[email protected]> | 2020-03-31 22:03:00 -0700 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2022-02-23 15:21:59 -0800 |
commit | 0a41527608e7f3da61e76564f5a8749a1fddc7f1 (patch) | |
tree | fc7985968180241e2a52cc39fc9dd0bd6937c0b4 /scripts/clang-tools/gen_compile_commands.py | |
parent | 31803e59233efc838b9dcb26edea28a4b2389e97 (diff) |
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 <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions