ice: implement direct read for NVM and Shadow RAM regions
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 28 Nov 2022 20:36:47 +0000 (12:36 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 1 Dec 2022 04:54:31 +0000 (20:54 -0800)
commit3af4b40b0f2f194d32e90cc5d25ebb3daa96cd1f
tree589f2a8444a2b632d3aba91446e4fb584b5a36e9
parent2d0197843f9e23c72e3c34303c3a4832bd81b3c3
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>
Documentation/networking/devlink/ice.rst
drivers/net/ethernet/intel/ice/ice_devlink.c