From: Jacob Keller <jacob.e.keller@intel.com>
To: Jakub Kicinski <kubakici@wp.pl>, Tom Herbert <tom@herbertland.com>
Cc: netdev@vger.kernel.org, Jiri Pirko <jiri@resnulli.us>,
Jesse Brandeburg <jesse.brandeburg@intel.com>
Subject: Re: [RFC PATCH net-next 6/6] ice: implement devlink parameters to control flash update
Date: Fri, 17 Jul 2020 10:21:23 -0700 [thread overview]
Message-ID: <f8723b99-f514-7433-98de-1940dbe5bf8f@intel.com> (raw)
In-Reply-To: <20200716151833.3b21d277@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
On 7/16/2020 3:18 PM, Jakub Kicinski wrote:
> On Thu, 16 Jul 2020 14:52:15 -0700 Jacob Keller wrote:
>> On 7/16/2020 2:42 PM, Jakub Kicinski wrote:
>>> Sorry but I'm still not 100% sure of what the use for this option is
>>> beyond an OEM. Is it possible to reset the VPD, board serial, MAC
>>> address etc. while flashing a FW image downloaded from a support site?
>>> Would that mean that if I flash a rack with one FW image all NICs will
>>> start reporting the same serial numbers and use the same MACs?
>>
>> I think the intent here is for OEMs which would generate/customize the
>> images, though I've also been told it may be useful to get a card out of
>> some situation where firmware preservation was broken.. (No, I don't
>> really have more details on what specifically the situation might be).
>> Obviously in most update cases I don't think we expect this to be used.
>
> What I'm getting at is that this seems to inherently require a special
> FW image which will carry unique IDs, custom-selected for a particular
> board. So I was hoping we can infer the setting from the image being
> flashed. But perhaps that's risky.
>
Hmm. I don't think we have any obvious way to tell this.
> Let's make sure the description of the option captures the fact that
> this is mostly useful in manufacturing and otherwise very rarely needed.
>
Sure. I'll try to make that clear in the documentation and in the naming.
>>>> d) if we need it, a "default" that would be the current behavior of
>>>> doing whatever the driver default is? (since it's not clear to me what
>>>> other implementations do but perhaps they all behavior as either
>>>> "nothing" or "all"?
>>>
>>> As a user I'd expect "nothing" to be the default. Same as your OS
>>> update does not wipe out your settings. I think it's also better
>>> if the default is decided by Linux, not the drivers.
>>
>> Right, but I wasn't sure what other drivers/devices implement today and
>> didn't want to end up in a "well we don't behave that way so you just
>> changed our behavior"..? Hmm. If they all behave this way today then
>> it's fine to make "nothing" the default and modify all implementations
>> to reject other options.
>
> Understood. Let's make things clear in the submission and CC
> maintainers of all drivers which implement devlink flashing today.
> Let them complain. If we're too cautious we'll never arrive on sane
> defaults.
Yep.
I hope to have this out today, I got sidetracked yesterday.
Regards,
Jake
prev parent reply other threads:[~2020-07-17 17:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-09 21:26 [RFC PATCH net-next 0/6] introduce PLDM firmware update library Jacob Keller
2020-07-09 21:26 ` [RFC PATCH net-next 1/6] ice: Add support for unified NVM update flow capability Jacob Keller
2020-07-09 21:26 ` [RFC PATCH net-next 2/6] ice: Add AdminQ commands for FW update Jacob Keller
2020-07-09 21:26 ` [RFC PATCH net-next 3/6] ice: add flags indicating pending update of firmware module Jacob Keller
2020-07-09 21:26 ` [RFC PATCH net-next 4/6] Add pldmfw library for PLDM firmware update Jacob Keller
2020-07-09 21:26 ` [RFC PATCH net-next 5/6] ice: implement device flash update via devlink Jacob Keller
2020-07-09 21:26 ` [RFC PATCH net-next 6/6] ice: implement devlink parameters to control flash update Jacob Keller
2020-07-10 0:19 ` Jakub Kicinski
2020-07-10 6:25 ` Vasundhara Volam
2020-07-10 17:32 ` Jacob Keller
2020-07-10 20:25 ` Jakub Kicinski
2020-07-10 20:32 ` Jacob Keller
2020-07-15 21:41 ` Jacob Keller
2020-07-15 23:23 ` Jakub Kicinski
2020-07-16 0:21 ` Jacob Keller
2020-07-16 21:29 ` Jacob Keller
2020-07-16 21:42 ` Jakub Kicinski
2020-07-16 21:52 ` Jacob Keller
2020-07-16 22:18 ` Jakub Kicinski
2020-07-17 17:21 ` Jacob Keller [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f8723b99-f514-7433-98de-1940dbe5bf8f@intel.com \
--to=jacob.e.keller@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=jiri@resnulli.us \
--cc=kubakici@wp.pl \
--cc=netdev@vger.kernel.org \
--cc=tom@herbertland.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.