Re: [PATCH net-next RFC v2 01/13] devlink: Add reload action option to devlink reload command

From: Jiri Pirko
Date: Mon Aug 17 2020 - 13:34:51 EST


Mon, Aug 17, 2020 at 11:37:40AM CEST, moshe@xxxxxxxxxxxx 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 activation some drivers may need
>to reload the driver. On the other hand some drivers may need to reset

Sounds reasonable. I think it would be good to indicate that though. Not
sure how...


>the firmware to reinitialize the driver entities.
>Reload actions supported are:
>driver_reinit: driver entities re-initialization, applying devlink-param
> and devlink-resource values.
>fw_activate: firmware activate.
>fw_live_patch: firmware live patching.
>