* [PATCH iproute2-next] devlink: add 'disk' to 'fw_load_policy' string validation
@ 2020-06-19 11:50 louis.peens
2020-07-06 18:16 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: louis.peens @ 2020-06-19 11:50 UTC (permalink / raw)
To: netdev; +Cc: dsahem, oss-drivers, Louis Peens
From: Louis Peens <louis.peens@netronome.com>
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>
---
devlink/devlink.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/devlink/devlink.c b/devlink/devlink.c
index 507972c3..a0a7770a 100644
--- a/devlink/devlink.c
+++ b/devlink/devlink.c
@@ -2349,6 +2349,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",
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH iproute2-next] devlink: add 'disk' to 'fw_load_policy' string validation
2020-06-19 11:50 [PATCH iproute2-next] devlink: add 'disk' to 'fw_load_policy' string validation louis.peens
@ 2020-07-06 18:16 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2020-07-06 18:16 UTC (permalink / raw)
To: louis.peens; +Cc: netdev, dsahem, oss-drivers
On Fri, 19 Jun 2020 13:50:07 +0200
louis.peens@netronome.com wrote:
> From: Louis Peens <louis.peens@netronome.com>
>
> 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>
Sure applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-06 18:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-19 11:50 [PATCH iproute2-next] devlink: add 'disk' to 'fw_load_policy' string validation louis.peens
2020-07-06 18:16 ` Stephen Hemminger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.