lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YupKHSDx+7Q4K4Qj@nanopsycho>
Date:   Wed, 3 Aug 2022 12:12:45 +0200
From:   Jiri Pirko <jiri@...dia.com>
To:     Vikas Gupta <vikas.gupta@...adcom.com>
Cc:     dsahern@...nel.org, stephen@...workplumber.org, kuba@...nel.org,
        netdev@...r.kernel.org, edumazet@...gle.com,
        michael.chan@...adcom.com, andrew.gospodarek@...adcom.com
Subject: Re: [PATCH iproute2-next v5 2/2] devlink: add support for running
 selftests

Wed, Aug 03, 2022 at 11:10:25AM CEST, vikas.gupta@...adcom.com wrote:
>Add commands and helper APIs to run selftests.
>Include a selftest id for a non volatile memory i.e. flash.
>Also, update the man page and bash-completion for selftests
>commands.
>
>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
>
>$ devlink dev selftests show pci/0000:03:00.0 -j
>{"selftests":{"pci/0000:03:00.0":["flash"]}}
>
>$ devlink dev selftests run pci/0000:03:00.0 id flash -j
>{"selftests":{"pci/0000:03:00.0":{"flash":{"status":"passed"}}}}
>
>Signed-off-by: Vikas Gupta <vikas.gupta@...adcom.com>


Reviewed-by: Jiri Pirko <jiri@...dia.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ