summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSasha Levin <sashal@kernel.org>2026-09-27 12:16:54 -0400
committerJason Gunthorpe <jgg@nvidia.com>2026-09-29 19:55:09 -0300
commitf5d4cc88371feb9c5f96b6fb7fce5e8cb08ecb6a (patch)
treeb66b9206f58d063e9418b281484dc6357a022ff2 /tools/lib/python
parentaac27aa8c5cfe3c3c6029b9c0f1113e0a53329de (diff)
RDMA/selftests: Fix the kernel config fragment
The config fragment lists bare option names with no values: CONFIG_TUN CONFIG_VETH CONFIG_DUMMY CONFIG_NET_NS CONFIG_RDMA_RXE which is not valid Kconfig syntax. When the fragment is merged, for example by "make kselftest-merge" or by CI systems, the lines are rejected: .config:5514:warning: unexpected data: CONFIG_TUN .config:5515:warning: unexpected data: CONFIG_VETH .config:5516:warning: unexpected data: CONFIG_DUMMY and none of the options gets enabled, so the rxe tests skip or fail for lack of the modules they load. Give each option a value. The scripts load and unload tun, veth, dummy and rdma_rxe with modprobe, so build those as modules. RDMA_RXE also depends on INFINIBAND, and rxe_rping_between_netns.sh runs rping, which needs the RDMA CM userspace interface provided by INFINIBAND_USER_ACCESS, so add both. Found by KernelCI kselftest builds. Fixes: e01027cab38a ("RDMA/rxe: Add testcase for net namespace rxe") Fixes: ecdcc8a455b7 ("RDMA/selftests: Add rxe_netns_names test") Link: https://patch.msgid.link/r/20260927161655.1184153-1-sashal@kernel.org Assisted-by: LLM Signed-off-by: Sasha Levin <sashal@kernel.org> Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions