summaryrefslogtreecommitdiff
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorShalom Toledo <shalomt@mellanox.com>2018-12-03 07:59:02 +0000
committerDavid S. Miller <davem@davemloft.net>2018-12-03 13:55:43 -0800
commit064501c5b6fd344cc2770194f23d620c65f2bd2c (patch)
treec7b77c81599e5cb33650ccbd389cd25f36c79732 /drivers/net/vxlan.c
parent03bffcad491fa824eba21b68e4ed710f9eca49d8 (diff)
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 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions