aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/networking
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2020-05-01 09:40:42 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-04 11:58:31 -0700
commitaebbd7dfab2584acfb1c5d9abf911024109bc5ee (patch)
treed487b2b14d525bb5739d25b048a195ad84fe8804 /Documentation/networking
parentdevlink: let kernel allocate region snapshot id (diff)
downloadwireguard-linux-aebbd7dfab2584acfb1c5d9abf911024109bc5ee.tar.xz
wireguard-linux-aebbd7dfab2584acfb1c5d9abf911024109bc5ee.zip
docs: devlink: clarify the scope of snapshot id
In past discussions Jiri explained snapshot ids are cross-region. Explain this in the docs. v3: new patch Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/devlink/devlink-region.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/devlink-region.rst b/Documentation/networking/devlink/devlink-region.rst
index daf35427fce1..3654c3e9658f 100644
--- a/Documentation/networking/devlink/devlink-region.rst
+++ b/Documentation/networking/devlink/devlink-region.rst
@@ -14,6 +14,10 @@ Region snapshots are collected by the driver, and can be accessed via read
or dump commands. This allows future analysis on the created snapshots.
Regions may optionally support triggering snapshots on demand.
+Snapshot identifiers are scoped to the devlink instance, not a region.
+All snapshots with the same snapshot id within a devlink instance
+correspond to the same event.
+
The major benefit to creating a region is to provide access to internal
address regions that are otherwise inaccessible to the user.