* [PATCH net] selftests: rds: config: disable modules
@ 2026-05-20 1:34 Matthieu Baerts (NGI0)
2026-05-20 4:22 ` Allison Henderson
0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Baerts (NGI0) @ 2026-05-20 1:34 UTC (permalink / raw)
To: Allison Henderson, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Simon Horman, Shuah Khan
Cc: netdev, linux-rdma, rds-devel, linux-kselftest, linux-kernel,
Matthieu Baerts (NGI0)
The run.sh script explicitly checks that CONFIG_MODULES is disabled.
By default, this config option is enabled. Explicitly disable it to be
able to run the RDS tests.
Note that writing '# CONFIG_(...) is not set' is usually recommended to
disable an option in the .config, but it looks like selftests usually
set 'CONFIG_(...)=n', which looks clearer.
Fixes: 0f5d68004780 ("selftests: rds: add tools/testing/selftests/net/rds/config")
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
tools/testing/selftests/net/rds/config | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/net/rds/config b/tools/testing/selftests/net/rds/config
index 97db7ecb892a..3d62d0c750a8 100644
--- a/tools/testing/selftests/net/rds/config
+++ b/tools/testing/selftests/net/rds/config
@@ -1,3 +1,4 @@
+CONFIG_MODULES=n
CONFIG_NET_NS=y
CONFIG_NET_SCH_NETEM=y
CONFIG_RDS=y
---
base-commit: 90fc1a393736063b2b4077115e215a2e2eebb797
change-id: 20260520-net-rds-config-modules-cada926dc526
Best regards,
--
Matthieu Baerts (NGI0) <matttbe@kernel.org>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net] selftests: rds: config: disable modules
2026-05-20 1:34 [PATCH net] selftests: rds: config: disable modules Matthieu Baerts (NGI0)
@ 2026-05-20 4:22 ` Allison Henderson
2026-05-20 9:40 ` Matthieu Baerts
0 siblings, 1 reply; 3+ messages in thread
From: Allison Henderson @ 2026-05-20 4:22 UTC (permalink / raw)
To: Matthieu Baerts (NGI0), David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Simon Horman, Shuah Khan
Cc: netdev, linux-rdma, rds-devel, linux-kselftest, linux-kernel
On Wed, 2026-05-20 at 11:34 +1000, Matthieu Baerts (NGI0) wrote:
> The run.sh script explicitly checks that CONFIG_MODULES is disabled.
>
> By default, this config option is enabled. Explicitly disable it to be
> able to run the RDS tests.
>
> Note that writing '# CONFIG_(...) is not set' is usually recommended to
> disable an option in the .config, but it looks like selftests usually
> set 'CONFIG_(...)=n', which looks clearer.
>
> Fixes: 0f5d68004780 ("selftests: rds: add tools/testing/selftests/net/rds/config")
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
> ---
> tools/testing/selftests/net/rds/config | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tools/testing/selftests/net/rds/config b/tools/testing/selftests/net/rds/config
> index 97db7ecb892a..3d62d0c750a8 100644
> --- a/tools/testing/selftests/net/rds/config
> +++ b/tools/testing/selftests/net/rds/config
> @@ -1,3 +1,4 @@
> +CONFIG_MODULES=n
> CONFIG_NET_NS=y
> CONFIG_NET_SCH_NETEM=y
> CONFIG_RDS=y
>
> ---
> base-commit: 90fc1a393736063b2b4077115e215a2e2eebb797
> change-id: 20260520-net-rds-config-modules-cada926dc526
>
> Best regards,
> --
> Matthieu Baerts (NGI0) <matttbe@kernel.org>
Hi Matthieu,
The fix looks fine to me. Thanks for catching this.
Reviewed-by: Allison Henderson <achender@kernel.org>
Allison
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net] selftests: rds: config: disable modules
2026-05-20 4:22 ` Allison Henderson
@ 2026-05-20 9:40 ` Matthieu Baerts
0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Baerts @ 2026-05-20 9:40 UTC (permalink / raw)
To: Allison Henderson
Cc: netdev, linux-rdma, rds-devel, linux-kselftest, linux-kernel,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Simon Horman, Shuah Khan
Hi Allison,
On 20/05/2026 14:22, Allison Henderson wrote:
> On Wed, 2026-05-20 at 11:34 +1000, Matthieu Baerts (NGI0) wrote:
>> The run.sh script explicitly checks that CONFIG_MODULES is disabled.
>>
>> By default, this config option is enabled. Explicitly disable it to be
>> able to run the RDS tests.
>>
>> Note that writing '# CONFIG_(...) is not set' is usually recommended to
>> disable an option in the .config, but it looks like selftests usually
>> set 'CONFIG_(...)=n', which looks clearer.
(...)
> The fix looks fine to me. Thanks for catching this.
Thank you for the review. Note that NIPA is now validating these tests:
https://netdev.bots.linux.dev/contest.html?test=run-sh
https://netdev.bots.linux.dev/flakes.html?min-flip=0&tn-needle=run-sh
Note that it might be good to rename the script name, "run.sh" is a bit
too generic :)
Cheers,
Matt
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-05-20 9:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-20 1:34 [PATCH net] selftests: rds: config: disable modules Matthieu Baerts (NGI0)
2026-05-20 4:22 ` Allison Henderson
2026-05-20 9:40 ` Matthieu Baerts
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox