netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2-next v4 0/3] devlink: add support to run selftest
@ 2022-07-29 10:18 Vikas Gupta
  2022-07-29 10:18 ` [PATCH iproute2-next v4 1/3] devlink: update the devlink.h Vikas Gupta
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vikas Gupta @ 2022-07-29 10:18 UTC (permalink / raw)
  To: jiri, dsahern, stephen
  Cc: kuba, netdev, edumazet, michael.chan, andrew.gospodarek,
	Vikas Gupta

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

Hi,
  This patchset adds support in devlink to run selftests.
  A related patchset for kernel has been merged.

 Below are the few examples for the commands implemented in the
 patchset.
  
Examples:
$ devlink dev selftests run pci/0000:03:00.0 id flash
pci/0000:03:00.0:
    flash:
      status passed

$ devlink dev selftests show pci/0000:03:00.0
pci/0000:03:00.0
      flash

changes from:
v3->v4
    Updated with the UAPI kernel header and hence related implementation
    for selftests impacted due to reorganization of enums/attributes.

v2->v3
    a) Update the implementation of commands according to 
       the latest patch set of kernel devlink patch.
    b) Added bash-completion.

v1->v2
    a) Changes required to implement command due to changes
       in kernel patch (under review).
    b) Added commands descriptions in devlink-dev man page.

Thanks,
Vikas 

Vikas Gupta (3):
  devlink: update the devlink.h
  devlink: add support for running selftestst
  devlink : update man page and bash-completion for new commands

 bash-completion/devlink      |  21 ++-
 devlink/devlink.c            | 294 +++++++++++++++++++++++++++++++++++
 include/uapi/linux/devlink.h |  31 ++++
 man/man8/devlink-dev.8       |  48 ++++++
 4 files changed, 393 insertions(+), 1 deletion(-)

-- 
2.31.1


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4206 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-07-30 12:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-29 10:18 [PATCH iproute2-next v4 0/3] devlink: add support to run selftest Vikas Gupta
2022-07-29 10:18 ` [PATCH iproute2-next v4 1/3] devlink: update the devlink.h Vikas Gupta
2022-07-29 10:18 ` [PATCH iproute2-next v4 2/3] devlink: add support for running selftestst Vikas Gupta
2022-07-30  9:35   ` Jiri Pirko
2022-07-29 10:18 ` [PATCH iproute2-next v4 3/3] devlink : update man page and bash-completion for new commands Vikas Gupta
2022-07-30 12:28   ` Jiri Pirko

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).