Skip to content

devlink region snapshot triggering

Jiri Pirko intel-wired-lan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 of 4 patches 0 repliesNew

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4doc: fix typo of snapshot in documentation+0 -00 replies
3/4devlink: add support for triggering snapshots from userspace+0 -01 reply
3/4devlink: add support for triggering snapshots from userspace+0 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-wired-lan] [PATCH 0/4] devlink region snapshot triggering
Quoted 8 lines · jacob.e.keller at intel.com

This series consists of patches to enable devlink to request a snapshot via a new DEVLINK_CMD_REGION_TRIGGER_SNAPSHOT.

The netdevsim driver is modified to support the new trigger_snapshot callback as an example of how this can be used.

There is also some fix ups for s/shapshot/snapshot/ in documentation and the devlink_snapshot_id_get function.

You can already trigger health reporter dump from userspace. Why don't you use health reporter?

Quoted 28 lines

Jacob Keller (3):
devlink: correct misspelling of snapshot
doc: fix typo of snapshot in documentation
devlink: add support for triggering snapshots from userspace

The last patch is a patch to the iproute2 project to implement support for the new command.

Jacob Keller (1):
devlink: add support for DEVLINK_CMD_REGION_TRIGGER_SNAPSHOT

Documentation/admin-guide/devices.txt       |  2 +-
Documentation/media/v4l-drivers/meye.rst    |  2 +-
drivers/net/ethernet/mellanox/mlx4/crdump.c |  6 +--
drivers/net/netdevsim/dev.c                 | 37 +++++++++++-----
include/net/devlink.h                       | 14 +++---
include/uapi/linux/devlink.h                |  2 +
net/core/devlink.c                          | 49 ++++++++++++++++++---
7 files changed, 85 insertions(+), 27 deletions(-)

devlink/devlink.c | 20 ++++++++++++++++++++
include/uapi/linux/devlink.h | 2 ++

2 files changed, 22 insertions(+)
Signature · 1 line
2.25.0.rc1