Re: [PATCH net-next RFC] devlink: add commands to query flash and reload support

From
Andrew Lunn <andrew@lunn.ch>
Date
2021-07-14 20:26:32
Reply to
Jacob Keller, 2021-07-14
I'm not sure if this is the best direction to go for implementing this.
Hi Jacob

Maybe add a --dry-run option? That would allow the driver to also read
the firmware file, make sure it can parse it, it fits the actual
hardware, and the CRC is O.K, etc.

We just need to make sure that if it fails with -EOPNOTSUPP, is it
clear if --dry-run itself is not supported, or the operation is not
supported. extack should help with that.

	   Andrew
Thread (3 messages) 3 messages, 2 authors, last reply 2021-07-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help