mbox series

[iproute2-next,v2,0/3] devlink: add support to run selftests

Message ID 20220707183116.29422-1-vikas.gupta@broadcom.com (mailing list archive)
Headers show
Series devlink: add support to run selftests | expand

Message

Vikas Gupta July 7, 2022, 6:31 p.m. UTC
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
       selftests results:
          flash failed

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

changes from:
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 for new commands

 devlink/devlink.c            | 193 +++++++++++++++++++++++++++++++++++
 include/uapi/linux/devlink.h |  26 +++++
 man/man8/devlink-dev.8       |  46 +++++++++
 3 files changed, 265 insertions(+)

Comments

Ido Schimmel July 10, 2022, 8:56 a.m. UTC | #1
On Fri, Jul 08, 2022 at 12:01:13AM +0530, Vikas Gupta wrote:
>  devlink/devlink.c            | 193 +++++++++++++++++++++++++++++++++++
>  include/uapi/linux/devlink.h |  26 +++++
>  man/man8/devlink-dev.8       |  46 +++++++++
>  3 files changed, 265 insertions(+)

What about bash completion [1]?

[1] https://lore.kernel.org/netdev/Yrw5d9jqe8%2FJCIbj@shredder/