[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YuuYc/pSJR9h+Mq1@nanopsycho>
Date: Thu, 4 Aug 2022 11:59:15 +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 v6 1/1] devlink: add support for running
selftests
Thu, Aug 04, 2022 at 11:18:02AM 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>
Next time, don't send cover letter for a single patch.
Powered by blists - more mailing lists