diff options
| author | Bjoern Doebel <doebel@amazon.de> | 2026-09-30 13:55:30 +0000 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-10-01 11:55:13 -0400 |
| commit | d2c08575500145dc5cb55075cd9b177626531613 (patch) | |
| tree | 9b0acdc83c879755232f5730cfcf2f9de386f536 /include/linux/platform_data | |
| parent | 83289f6596d268699bbe035a511d78fb131fe221 (diff) | |
| download | linux-next-d2c08575500145dc5cb55075cd9b177626531613.tar.gz linux-next-d2c08575500145dc5cb55075cd9b177626531613.zip | |
selftests/rdma: Skip rxe_sent_rcvd_bytes when rdma_rxe is missing
On a kernel built without CONFIG_RDMA_RXE the test exits 1 instead of
skipping:
# modprobe: FATAL: Module rdma_rxe not found in directory ...
not ok 467 selftests: rdma: rxe_sent_rcvd_bytes.sh # exit=1
Every other test in this directory probes with modinfo and exits
$KSFT_SKIP. Apply the same guard, identical to the one in the otherwise
near-identical rxe_socket_with_netns.sh.
Fixes: c67bd973695c3 ("selftest/rxe: Add selftests for perf")
Assisted-by: kiro:claude-opus-5
Signed-off-by: Bjoern Doebel <doebel@amazon.de>
Link: https://patch.msgid.link/20260930135530.881281-1-doebel@amazon.de
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
