RE: [net-next v3 3/4] devlink: introduce flash update overwrite mask

2020-08-19 Thread Keller, Jacob E
> -Original Message- > From: netdev-ow...@vger.kernel.org On > Behalf Of Jakub Kicinski > Sent: Wednesday, August 19, 2020 9:31 AM > To: Keller, Jacob E > Cc: netdev@vger.kernel.org > Subject: Re: [net-next v3 3/4] devlink: introduce flash update overwrite mas

Re: [net-next v3 3/4] devlink: introduce flash update overwrite mask

2020-08-19 Thread Jakub Kicinski
On Wed, 19 Aug 2020 16:01:02 + Keller, Jacob E wrote: > > > -#define DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT BIT(0) > > > +#define DEVLINK_SUPPORT_FLASH_UPDATE_COMPONENT BIT(0) > > > +#define DEVLINK_SUPPORT_FLASH_UPDATE_OVERWRITE_MASK BIT(1) > > > > Since core will check sup

RE: [net-next v3 3/4] devlink: introduce flash update overwrite mask

2020-08-19 Thread Keller, Jacob E
> -Original Message- > From: Jakub Kicinski > Sent: Tuesday, August 18, 2020 8:55 PM > To: Keller, Jacob E > Cc: netdev@vger.kernel.org > Subject: Re: [net-next v3 3/4] devlink: introduce flash update overwrite mask > > On Tue, 18 Aug 2020 17:28:17 -0700 Jaco

Re: [net-next v3 3/4] devlink: introduce flash update overwrite mask

2020-08-18 Thread Jakub Kicinski
On Tue, 18 Aug 2020 17:28:17 -0700 Jacob Keller wrote: > +The ``devlink-flash`` command allows optionally specifying a mask indicating > +the how the device should handle subsections of flash components when remove one 'the'? > +updating. This mask indicates the set of sections which are allowed

[net-next v3 3/4] devlink: introduce flash update overwrite mask

2020-08-18 Thread Jacob Keller
Sections of device flash may contain settings or device identifying information. When performing a flash update, it is generally expected that these settings and identifiers are not overwritten. However, it may sometimes be useful to allow overwriting these fields when performing a flash update. S