archive mirror
 help / color / mirror / Atom feed
From: Andrew Lunn <>
To: Jacob Keller <>
Cc:, Jakub Kicinski <>,
	Jiri Pirko <>
Subject: Re: [PATCH net-next RFC] devlink: add commands to query flash and reload support
Date: Wed, 14 Jul 2021 22:25:49 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

> 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.


  reply	other threads:[~2021-07-14 20:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-14 19:39 Jacob Keller
2021-07-14 20:25 ` Andrew Lunn [this message]
2021-07-14 20:54   ` Keller, Jacob E

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \
    --subject='Re: [PATCH net-next RFC] devlink: add commands to query flash and reload support' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).