diff options
author | 2020-02-21 21:45:59 +0000 | |
---|---|---|
committer | 2020-02-21 15:41:10 -0800 | |
commit | 86a1270fd79f99e7aa85c2c81cd59d0eab92112f (patch) | |
tree | a0c33cf11b80134ee6b6a85c5d9cf23ab2076e8f /scripts/bpf_helpers_doc.py | |
parent | net/mlxfw: Generic mlx FW flash status notify (diff) | |
download | linux-dev-86a1270fd79f99e7aa85c2c81cd59d0eab92112f.tar.xz linux-dev-86a1270fd79f99e7aa85c2c81cd59d0eab92112f.zip |
net/mlxfw: Improve FSM err message reporting and return codes
Report unique and standard error codes corresponding to the specific
FW flash error. In addition, add a more detailed error messages to
netlink.
Before:
$ devlink dev flash pci/0000:05:00.0 file ...
Error: mlxfw: Firmware flash failed.
devlink answers: Invalid argument
After:
$ devlink dev flash pci/0000:05:00.0 file ...
Error: mlxfw: Firmware flash failed: pending reset.
devlink answers: Device busy
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions