mbox series

[iproute2-next,v6,0/1] devlink: add support to run selftest

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

Message

Vikas Gupta Aug. 4, 2022, 9:18 a.m. UTC
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:
v5->v6
     Remove header file(devlink.h) patch in v5 as its already updated.
     Resolve conflicts in devlink.c due to rebase with
     iproute2-next but no change in implementation/functionality.

v4->v5
     Addressed the comments by jiri@nvidia.com.
     Change in json output for seltests show command.

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 (1):
  devlink: add support for running selftests

 bash-completion/devlink |  30 +++-
 devlink/devlink.c       | 328 ++++++++++++++++++++++++++++++++++++++++
 man/man8/devlink-dev.8  |  46 ++++++
 3 files changed, 403 insertions(+), 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 4, 2022, 6:40 p.m. UTC | #1
Hello:

This patch was applied to iproute2/iproute2-next.git (main)
by David Ahern <dsahern@kernel.org>:

On Thu,  4 Aug 2022 14:48:01 +0530 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [iproute2-next,v6,1/1] devlink: add support for running selftests
    https://git.kernel.org/pub/scm/network/iproute2/iproute2-next.git/commit/?id=06cb288d63f5

You are awesome, thank you!