mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-16 06:25:35 +08:00
8b4fbf0bed
Devlink region allows access to driver defined address regions. Each device can create its supported address regions and register them. A device which exposes a region will allow access to it using devlink. This support allows reading and dumping regions snapshots as well as presenting information such as region size and current available snapshots. A snapshot represents a memory image of a region taken by the driver. If a device collects a snapshot of an address region it can be later exposed using devlink region read or dump commands. This functionality allows for future analyses on the snapshots. The dump command is designed to read the full address space of a region or of a snapshot unlike the read command which allows reading only a specific section in a region/snapshot indicated by an address and a length, current support is for reading and dumping for a previously taken snapshot ID. New commands added: devlink region show [ DEV/REGION ] devlink region delete DEV/REGION snapshot SNAPSHOT_ID devlink region dump DEV/REGION [ snapshot SNAPSHOT_ID ] devlink region read DEV/REGION [ snapshot SNAPSHOT_ID ] address ADDRESS length length Signed-off-by: Alex Vesker <valex@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David Ahern <dsahern@gmail.com> |
||
---|---|---|
.. | ||
man3 | ||
man7 | ||
man8 | ||
Makefile |