If you require a full testing of your InfiniBand fabric, the ibdiagnet command can perform many tests with verbose results. The command is a useful tool to determine the general overall health of the InfiniBand fabric.
# ibdiagnet -v -r
The ibdiagnet.log file contains the log of the testing.
Switch Reference, ibdiagnet command
Switch Reference, ibdiagpath command