diff options
author | Yishai Hadas <[email protected]> | 2024-02-05 14:48:26 +0200 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2024-02-22 12:17:32 -0700 |
commit | 793d4bfa3103a238c6e48eb13c38fa31acd18b94 (patch) | |
tree | 6c3f9a368f949b3fb9714af5701fdf92d573f9cd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f886473071d6c0c98857eb5d7871a5e5ac26e950 (diff) |
vfio/mlx5: Handle the EREMOTEIO error upon the SAVE command
The SAVE command uses the async command interface over the PF.
Upon a failure in the firmware -EREMOTEIO is returned.
In that case call mlx5_cmd_out_err() to let it print the command failure
details including the firmware syndrome.
Note:
The other commands in the driver use the sync command interface in a way
that a firmware syndrome is printed upon an error inside mlx5_core.
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Kevin Tian <[email protected]>
Acked-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions