selftests/rdma: explicitly skip tests when required modules are missingCurrently, the rdma rxe selftests fail with an exit code of 1 whenrequired kernel modules are not present. This causes spurio
selftests/rdma: explicitly skip tests when required modules are missingCurrently, the rdma rxe selftests fail with an exit code of 1 whenrequired kernel modules are not present. This causes spurious failuresin environments where these modules might not be compiled or available.Include the standard kselftest 'ktap_helpers.sh' and replace thehardcoded error exits with '$KSFT_SKIP'. This ensures the tests areproperly marked as skipped rather than failed.Fixes: e01027cab38a ("RDMA/rxe: Add testcase for net namespace rxe")Signed-off-by: Yi Lai <yi1.lai@intel.com>Link: https://patch.msgid.link/20260507125106.3114167-1-yi1.lai@intel.comReviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>Signed-off-by: Leon Romanovsky <leon@kernel.org>
show more ...
RDMA/rxe: Add testcase for net namespace rxeAdd 4 testcases for rxe with net namespace.Reviewed-by: David Ahern <dsahern@kernel.org>Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>Link: https:/
RDMA/rxe: Add testcase for net namespace rxeAdd 4 testcases for rxe with net namespace.Reviewed-by: David Ahern <dsahern@kernel.org>Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>Link: https://patch.msgid.link/20260313023058.13020-5-yanjun.zhu@linux.devSigned-off-by: Leon Romanovsky <leon@kernel.org>