diff options
author | 2018-12-03 07:59:02 +0000 | |
---|---|---|
committer | 2018-12-03 13:55:43 -0800 | |
commit | 064501c5b6fd344cc2770194f23d620c65f2bd2c (patch) | |
tree | c7b77c81599e5cb33650ccbd389cd25f36c79732 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mlxsw: core: Reset firmware after flash during driver initialization (diff) | |
download | wireguard-linux-064501c5b6fd344cc2770194f23d620c65f2bd2c.tar.xz wireguard-linux-064501c5b6fd344cc2770194f23d620c65f2bd2c.zip |
mlxsw: spectrum: Load firmware version based on devlink parameter
Load firmware version based on 'fw_load_policy' devlink parameter. The
driver supports these two options:
* DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER (0)
Default, load firmware version preferred by the driver
* DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH (1)
Load firmware currently stored in flash
The second option, 'flash', allow the device to run with different firmware
version than preferred by the driver for testing and/or debugging purposes.
For example, testing a firmware bug fix.
Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions