[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <83be9fef-c15e-c32b-7d0f-70c563318fb9@intel.com>
Date: Thu, 26 Mar 2020 15:35:15 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Jiri Pirko <jiri@...nulli.us>, David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH net-next v3 11/11] ice: add a devlink region for dumping
NVM contents
On 3/26/2020 2:19 PM, Jiri Pirko wrote:
> Thu, Mar 26, 2020 at 07:37:18PM CET, jacob.e.keller@...el.com wrote:
>> +Regions
>> +=======
>> +
>> +The ``ice`` driver enables access to the contents of the Non Volatile Memory
>> +flash chip via the ``nvm-flash`` region.
>> +
>> +Users can request an immediate capture of a snapshot via the
>> +``DEVLINK_CMD_REGION_NEW``
>> +
>> +.. code:: shell
>> +
>> + $ devlink region new pci/0000:01:00.0/nvm-flash snapshot 1
>> + $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
>> +
>> + $ devlink region dump pci/0000:01:00.0/nvm-flash snapshot 1
>> + 0000000000000000 0014 95dc 0014 9514 0035 1670 0034 db30
>> + 0000000000000010 0000 0000 ffff ff04 0029 8c00 0028 8cc8
>> + 0000000000000020 0016 0bb8 0016 1720 0000 0000 c00f 3ffc
>> + 0000000000000030 bada cce5 bada cce5 bada cce5 bada cce5
>> +
>> + $ devlink region read pci/0000:01:00.0/nvm-flash snapshot 1 address 0
>> + length 16
>
> I still think this should be one line. Anyway,
>
> Reviewed-by: Jiri Pirko <jiri@...lanox.com>
>
I'm happy to send a v4 with this fix in, or to send a separate follow-up
patch which cleans up all of the devlink documents to avoid this.
Dave, which would you prefer?
Thanks,
Jake
Powered by blists - more mailing lists