From: Ido Schimmel <ido...@mellanox.com> Date: Mon, 3 Dec 2018 07:58:57 +0000
> Shalom says: > > Currently, drivers do not have the ability to control the firmware > loading policy and they always use their own fixed policy. This prevents > drivers from running the device with a different firmware version for > testing and/or debugging purposes. For example, testing a firmware bug > fix. > > For these situations, the new devlink generic parameter, > 'fw_load_policy', gives the ability to control this option and allows > drivers to run with a different firmware version than required by the > driver. > > Patch #1 adds the new parameter to devlink. The other two patches, #2 > and #3, add support for this parameter in the mlxsw driver. > > Example: ... > iproute2 patches available here: > https://github.com/tshalom/iproute2-next > > v2: > * Change 'fw_version_check' to 'fw_load_policy' with values 'driver' and > 'flash' (Jakub) Series applied.