netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Alex Vesker <valex@mellanox.com>,
	netdev@vger.kernel.org, jiri@mellanox.com
Subject: Re: [PATCH iproute2 net-next] devlink: Add support for devlink-region access
Date: Thu, 19 Jul 2018 10:21:20 -0600	[thread overview]
Message-ID: <dd4b73d7-0219-9db5-4d8e-4150cfa8fbda@gmail.com> (raw)
In-Reply-To: <1531816467-15860-1-git-send-email-valex@mellanox.com>

On 7/17/18 2:34 AM, Alex Vesker wrote:
> 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>
> ---
>  devlink/devlink.c         | 485 +++++++++++++++++++++++++++++++++++++++++++++-
>  man/man8/devlink-region.8 | 131 +++++++++++++
>  man/man8/devlink.8        |   1 +
>  3 files changed, 616 insertions(+), 1 deletion(-)
>  create mode 100644 man/man8/devlink-region.8
> 

applied to iproute2-next. Thanks

      reply	other threads:[~2018-07-19 17:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  8:34 [PATCH iproute2 net-next] devlink: Add support for devlink-region access Alex Vesker
2018-07-19 16:21 ` David Ahern [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dd4b73d7-0219-9db5-4d8e-4150cfa8fbda@gmail.com \
    --to=dsahern@gmail.com \
    --cc=jiri@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=valex@mellanox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).