2022-07-28 09:04:01

by Jiri Pirko

[permalink] [raw]
Subject: Re: [PATCH net-next v9 1/2] devlink: introduce framework for selftests

Wed, Jul 27, 2022 at 06:57:20PM CEST, [email protected] wrote:
>Add a framework for running selftests.
>Framework exposes devlink commands and test suite(s) to the user
>to execute and query the supported tests by the driver.
>
>Below are new entries in devlink_nl_ops
>devlink_nl_cmd_selftests_show_doit/dumpit: To query the supported
>selftests by the drivers.
>devlink_nl_cmd_selftests_run: To execute selftests. Users can
>provide a test mask for executing group tests or standalone tests.
>
>Documentation/networking/devlink/ path is already part of MAINTAINERS &
>the new files come under this path. Hence no update needed to the
>MAINTAINERS
>
>Signed-off-by: Vikas Gupta <[email protected]>

Reviewed-by: Jiri Pirko <[email protected]>

2022-07-28 09:05:50

by Jiri Pirko

[permalink] [raw]
Subject: Re: [PATCH net-next v9 0/2] add framework for selftests in devlink

Wed, Jul 27, 2022 at 06:57:19PM CEST, [email protected] wrote:
>Hi,
> This patchset adds support for selftests in the devlink framework.
> It adds a callback .selftests_check and .selftests_run in devlink_ops.
> User can add test(s) suite which is subsequently passed to the driver
> and driver can opt for running particular tests based on its capabilities.
>
> Patchset adds a flash based test for the bnxt_en driver.
>
> Suggested commands at user level would be as below:
>
>changes from:
>v8->v9:
> Only SOB line fixed in 2/2.

If nothing changes in the patches, you should retain the RVB tags from
previous version.

2022-07-29 05:49:57

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next v9 0/2] add framework for selftests in devlink

Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <[email protected]>:

On Wed, 27 Jul 2022 22:27:19 +0530 you wrote:
> Hi,
> This patchset adds support for selftests in the devlink framework.
> It adds a callback .selftests_check and .selftests_run in devlink_ops.
> User can add test(s) suite which is subsequently passed to the driver
> and driver can opt for running particular tests based on its capabilities.
>
> Patchset adds a flash based test for the bnxt_en driver.
>
> [...]

Here is the summary with links:
- [net-next,v9,1/2] devlink: introduce framework for selftests
https://git.kernel.org/netdev/net-next/c/08f588fa301b
- [net-next,v9,2/2] bnxt_en: implement callbacks for devlink selftests
https://git.kernel.org/netdev/net-next/c/5b6ff128fdf6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html