Re: [PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-05 Thread Jacob Keller
On 10/1/2020 6:59 AM, Moshe Shemesh wrote: > Add devlink reload action to allow the user to request a specific reload > action. The action parameter is optional, if not specified then devlink > driver re-init action is used (backward compatible). > Note that when required to do firmware

Re: [PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-04 Thread Moshe Shemesh
On 10/3/2020 10:52 AM, Jiri Pirko wrote: Thu, Oct 01, 2020 at 03:59:05PM CEST, mo...@mellanox.com wrote: [...] +static int +devlink_nl_reload_actions_performed_snd(struct devlink *devlink, + unsigned long actions_performed, +

Re: [PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-04 Thread Moshe Shemesh
On 10/2/2020 6:19 PM, Jiri Pirko wrote: Thu, Oct 01, 2020 at 03:59:05PM CEST, mo...@mellanox.com wrote: [...] diff --git a/include/net/devlink.h b/include/net/devlink.h index 1c286e9a3590..ddba63bce7ad 100644 --- a/include/net/devlink.h +++ b/include/net/devlink.h @@ -1077,10 +1077,11 @@

Re: [PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-03 Thread Jiri Pirko
Thu, Oct 01, 2020 at 03:59:05PM CEST, mo...@mellanox.com wrote: [...] >+static int >+devlink_nl_reload_actions_performed_snd(struct devlink *devlink, >+ unsigned long actions_performed, >+ enum devlink_command cmd, struct

Re: [PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-02 Thread Jiri Pirko
Thu, Oct 01, 2020 at 03:59:05PM CEST, mo...@mellanox.com wrote: [...] >diff --git a/include/net/devlink.h b/include/net/devlink.h >index 1c286e9a3590..ddba63bce7ad 100644 >--- a/include/net/devlink.h >+++ b/include/net/devlink.h >@@ -1077,10 +1077,11 @@ struct devlink_ops { >*

Re: [PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-01 Thread Jakub Kicinski
On Thu, 1 Oct 2020 16:59:05 +0300 Moshe Shemesh wrote: > Add devlink reload action to allow the user to request a specific reload > action. The action parameter is optional, if not specified then devlink > driver re-init action is used (backward compatible). > Note that when required to do

[PATCH net-next 02/16] devlink: Add reload action option to devlink reload command

2020-10-01 Thread Moshe Shemesh
Add devlink reload action to allow the user to request a specific reload action. The action parameter is optional, if not specified then devlink driver re-init action is used (backward compatible). Note that when required to do firmware activation some drivers may need to reload the driver. On the