diff options
author | Moshe Shemesh | 2022-05-31 09:14:03 +0300 |
---|---|---|
committer | Saeed Mahameed | 2022-11-21 18:14:34 -0800 |
commit | 870c2481174b839e7159555127bc8b5a5d0699ba (patch) | |
tree | 8dcca409f71ec877e0cb33eaa8b829ae7e7c4ab5 /net | |
parent | 4f57332d6a551185ba729617f04455e83fbe4e41 (diff) |
net/mlx5: cmdif, Print info on any firmware cmd failure to tracepoint
While moving to new CMD API (quiet API), some pre-existing flows may call the new API
function that in case of error, returns the error instead of printing it as previously done.
For such flows we bring back the print but to tracepoint this time for sys admins to
have the ability to check for errors especially for commands using the new quiet API.
Tracepoint output example:
devlink-1333 [001] ..... 822.746922: mlx5_cmd: ACCESS_REG(0x805) op_mod(0x0) failed, status bad resource(0x5), syndrome (0xb06e1f), err(-22)
Fixes: f23519e542e5 ("net/mlx5: cmdif, Add new api for command execution")
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions