mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: David S. Miller <davem@davemloft.net>
This commit is contained in:
commit
ae95f9c1a5
17 changed files with 358 additions and 91 deletions
53
tools/testing/selftests/drivers/net/netdevsim/devlink.sh
Executable file
53
tools/testing/selftests/drivers/net/netdevsim/devlink.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue