I have connect-6 modules installed however currently i am attempting to use loopback test only. Can anyone shed light on this on how to perform loopback test on single card with no cable attached? I am fairly well versed with ethernet but infinityband is my first foray into it by doing belows:
So far I am looking at perf_test GitHub - linux-rdma/perftest: Infiniband Verbs Performance Tests and compiled successfully which produced several types of binary: ib_write/read_bw/ etc.
Apparently one of them has loop back binary and produced following output:
[nonroot@localhost bin]$ ./run_perftest_loopback 0 1 ./ib_write_bw -s 10 Port number 1 state is Down Couldn't set the link layer Couldn't get context for the device Port number 1 state is Down Couldn't set the link layer Couldn't get context for the device [nonroot@localhost bin]$