Skip to content
Commit ae95f9c1 authored by David S. Miller's avatar David S. Miller
Browse files

Merge branch 'net-expose-flash-update-status-to-user'

Jiri Pirko says:

====================
expose flash update status to user

When user is flashing device using devlink, he currenly does not see any
information about what is going on, percentages, etc.
Drivers, for example mlxsw and mlx5, have notion about the progress
and what is happening. This patchset exposes this progress
information to userspace.

Example output for existing flash command:
$ devlink dev flash pci/0000:01:00.0 file firmware.bin
Preparing to flash
Flashing 100%
Flashing done

See this console recording which shows flashing FW on a Mellanox
Spectrum device:
https://asciinema.org/a/247926



Please see individual patches for changelog.
v2->v3 only adds tags and the last selftest patch
====================

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents 712246bc fc4c93f1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment