On 6/4/19 7:44 AM, Jiri Pirko wrote: > diff --git a/man/man8/devlink-dev.8 b/man/man8/devlink-dev.8 > index 1804463b2321..1021ee8d064c 100644 > --- a/man/man8/devlink-dev.8 > +++ b/man/man8/devlink-dev.8 > @@ -244,6 +244,17 @@ Sets the parameter internal_error_reset of specified > devlink device to true. > devlink dev reload pci/0000:01:00.0 > .RS 4 > Performs hot reload of specified devlink device. > +.RE > +.PP > +devlink dev flash pci/0000:01:00.0 file firmware.bin > +.RS 4 > +Flashes the specified devlink device with provided firmware file name. If > the driver supports it, user gets updates about the flash status. For example: > +.br > +Preparing to flash > +.br > +Flashing 100% > +.br > +Flashing done > > .SH SEE ALSO > .BR devlink (8),
something is missing here from a user perspective at least: root@mlx-2700-05:~# ./devlink dev pci/0000:03:00.0 root@mlx-2700-05:~# ./devlink dev flash pci/0000:03:00.0 file /lib/firmware/mellanox/mlxsw_spectrum-13.2000.1122.mfa2 devlink answers: No such file or directory root@mlx-2700-05:~# ls -l /lib/firmware/mellanox/mlxsw_spectrum-13.2000.1122.mfa2 -rw-r--r-- 1 cumulus 1001 994184 May 14 22:44 /lib/firmware/mellanox/mlxsw_spectrum-13.2000.1122.mfa2 Why the 'no such file' response when the file exists?