Thread (13 messages) 13 messages, 2 authors, 2022-07-18
STALE1420d
Revisions (4)
  1. v3 current
  2. v4 [diff vs current]
  3. v5 [diff vs current]
  4. v6 [diff vs current]

[PATCH iproute2-next v3 0/3] devlink: add support to run selftest

From: Vikas Gupta <vikas.gupta@broadcom.com>
Date: 2022-07-18 06:23:02

Hi,
  This patchset adds support in devlink to run selftests.
  A related patchset for kernel has been pushed for review.
  Below are the few examples for the commands.
  
Examples:
$ devlink dev selftests run pci/0000:03:00.0 test flash
pci/0000:03:00.0
      flash failed

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

changes from:
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 selftests
  devlink : update man page and bash-completion for new commands

 bash-completion/devlink      |  21 ++-
 devlink/devlink.c            | 292 +++++++++++++++++++++++++++++++++++
 include/uapi/linux/devlink.h |  29 ++++
 man/man8/devlink-dev.8       |  47 ++++++
 4 files changed, 388 insertions(+), 1 deletion(-)

-- 
2.31.1

Attachments

  • smime.p7s [application/pkcs7-signature] 4206 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help