On 9/10/2020 10:56 AM, Jakub Kicinski wrote: > IOW drop the component parameter from the normal helper, cause almost > nobody uses that. The add a more full featured __ version, which would > take the arg struct, the struct would include the timeout value. > I would point out that the ice driver does use it to help indicate which section of the flash is currently being updated. i.e. $ devlink dev flash pci/0000:af:00.0 file firmware.bin Preparing to flash [fw.mgmt] Erasing [fw.mgmt] Erasing done [fw.mgmt] Flashing 100% [fw.mgmt] Flashing done 100% [fw.undi] Erasing [fw.undi] Erasing done [fw.undi] Flashing 100% [fw.undi] Flashing done 100% [fw.netlist] Erasing [fw.netlist] Erasing done [fw.netlist] Flashing 100% [fw.netlist] Flashing done 100% I'd like to keep that, as it helps tell which component is currently being updated. If we drop this, then either I have to manually build strings which include the component name, or we lose this information on display. Thanks, Jake
- [PATCH v3 net-next 2/2] ionic: add devlink firmware update Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ionic: add devlink firmwa... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ionic: add devlink fi... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ionic: add devlin... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ionic: add de... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ionic: a... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ioni... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ioni... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ioni... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ioni... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ioni... Jacob Keller
- Re: [PATCH v3 net-next 2/2] ioni... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ioni... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ioni... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ioni... Jakub Kicinski
- RE: [PATCH v3 net-next 2/2] ioni... Keller, Jacob E
- Re: [PATCH v3 net-next 2/2] ioni... Shannon Nelson
- Re: [PATCH v3 net-next 2/2] ioni... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ioni... Jacob Keller
- Re: [PATCH v3 net-next 2/2] ioni... Jakub Kicinski
- Re: [PATCH v3 net-next 2/2] ioni... Shannon Nelson