mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-18 22:09:55 +00:00
devlink: add 'disk' to 'fw_load_policy' string validation
The 'fw_load_policy' devlink parameter supports the 'disk' value since kernel v5.4, seems like there was some oversight in adding this to iproute, fixed by this patch. Signed-off-by: Louis Peens <louis.peens@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
2d4c3f65e2
commit
7c8d7848c7
@ -2358,6 +2358,11 @@ static const struct param_val_conv param_val_conv[] = {
|
||||
.vstr = "flash",
|
||||
.vuint = DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_FLASH,
|
||||
},
|
||||
{
|
||||
.name = "fw_load_policy",
|
||||
.vstr = "disk",
|
||||
.vuint = DEVLINK_PARAM_FW_LOAD_POLICY_VALUE_DISK,
|
||||
},
|
||||
{
|
||||
.name = "reset_dev_on_drv_probe",
|
||||
.vstr = "unknown",
|
||||
|
Loading…
Reference in New Issue
Block a user