diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2022-11-28 21:36:47 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-12-01 05:54:31 +0100 |
commit | 3af4b40b0f2f194d32e90cc5d25ebb3daa96cd1f (patch) | |
tree | 589f2a8444a2b632d3aba91446e4fb584b5a36e9 /Documentation/networking | |
parent | ice: document 'shadow-ram' devlink region (diff) | |
download | linux-3af4b40b0f2f194d32e90cc5d25ebb3daa96cd1f.tar.xz linux-3af4b40b0f2f194d32e90cc5d25ebb3daa96cd1f.zip |
ice: implement direct read for NVM and Shadow RAM regions
Implement the .read handler for the NVM and Shadow RAM regions. This
enables user space to read a small chunk of the flash without needing the
overhead of creating a full snapshot.
Update the documentation for ice to detail which regions have direct read
support.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/networking')
-rw-r--r-- | Documentation/networking/devlink/ice.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/networking/devlink/ice.rst b/Documentation/networking/devlink/ice.rst index bcd4839fbf79..625efb3777d5 100644 --- a/Documentation/networking/devlink/ice.rst +++ b/Documentation/networking/devlink/ice.rst @@ -198,8 +198,12 @@ device data. - The contents of the device firmware's capabilities buffer. Useful to determine the current state and configuration of the device. -Users can request an immediate capture of a snapshot via the -``DEVLINK_CMD_REGION_NEW`` +Both the ``nvm-flash`` and ``shadow-ram`` regions can be accessed without a +snapshot. The ``device-caps`` region requires a snapshot as the contents are +sent by firmware and can't be split into separate reads. + +Users can request an immediate capture of a snapshot for all three regions +via the ``DEVLINK_CMD_REGION_NEW`` command. .. code:: shell |