[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47d38183-dc6b-bbe6-110a-8c870ec01769@intel.com>
Date: Thu, 26 Mar 2020 09:23:39 -0700
From: Jacob Keller <jacob.e.keller@...el.com>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, Jakub Kicinski <kuba@...nel.org>
Subject: Re: [net-next v2 11/11] ice: add a devlink region for dumping NVM
contents
On 3/26/2020 2:02 AM, Jiri Pirko wrote:
> Thu, Mar 26, 2020 at 04:51:57AM 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
>
> Don't wrap the cmdline.
The devlink-region.rst file wrapped it like this..
Powered by blists - more mailing lists