diff options
author | Shalom Toledo <shalomt@mellanox.com> | 2018-12-03 07:58:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-03 13:55:43 -0800 |
commit | 846e980a87fc30075517d6d979548294d5461bdb (patch) | |
tree | 26042e6262a9143356a3410edcd52a1caf6cf128 /Documentation/networking/devlink-params.txt | |
parent | 6915bf3b002bba76cbbb928a983795fdd93af49b (diff) | |
download | linux-stable-846e980a87fc30075517d6d979548294d5461bdb.tar.gz linux-stable-846e980a87fc30075517d6d979548294d5461bdb.tar.bz2 linux-stable-846e980a87fc30075517d6d979548294d5461bdb.zip |
devlink: Add 'fw_load_policy' generic parameter
Many drivers load the device's firmware image during the initialization
flow either from the flash or from the disk. Currently this option is not
controlled by the user and the driver decides from where to load the
firmware image.
'fw_load_policy' gives the ability to control this option which allows the
user to choose between different loading policies supported by the driver.
This parameter can be useful while testing and/or debugging the device. 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 'Documentation/networking/devlink-params.txt')
-rw-r--r-- | Documentation/networking/devlink-params.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/networking/devlink-params.txt b/Documentation/networking/devlink-params.txt index ae444ffe73ac..2d26434ddcf8 100644 --- a/Documentation/networking/devlink-params.txt +++ b/Documentation/networking/devlink-params.txt @@ -40,3 +40,12 @@ msix_vec_per_pf_min [DEVICE, GENERIC] for the device initialization. Value is same across all physical functions (PFs) in the device. Type: u32 + +fw_load_policy [DEVICE, GENERIC] + Controls the device's firmware loading policy. + Valid values: + * DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DRIVER (0) + Load firmware version preferred by the driver. + * DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH (1) + Load firmware currently stored in flash. + Type: u8 |