RoCE connection
The RoCE connection test evaluates the functionality and bandwidth of RDMA over Converged Ethernet (RoCE) network devices. You can run this test to verify that your system successfully transfers data and communicates across a RoCE fabric.
- What the test does
-
The RoCE Connection test runs the following subtests to ensure baseline functionality. When appropriate, it uses the IP address selected from the dropdown at the onset of the test:
- Ping test - Runs ping from the starting IP address of the device being tested on the HUT to the selected IP address of the test server.
- Rping test - Runs rping on test server and HUT using the selected test server IP address, then compares results to verify it ran to completion.
- Rcopy test - Runs rcopy on test server and HUT, sending a randomly generated file and comparing md5sums on test server and HUT to verify successful transfer.
- Ethtool test - Runs the ethtool command passing in the detected net device of the roce device.
- ib_write_bw test Run ib_write_bw from the HUT to the selected IP address of the test server. This tests the RoCE write bandwidth and verifies if it can reach the required bandwidth.
- ib_read_bw test Run ib_read_bw from the HUT to the selected IP address of the test server. This tests the RoCE read bandwidth and verifies if it can reach the required bandwidth.
- ib_send_bw test Run ib_send_bw from the HUT to the selected IP address of the test server. This tests the RoCE send bandwidth and verifies if it can reach the required bandwidth.
- RHEL version supported
-
- RHEL 8
- RHEL 9
- RHEL 10
- Preparing for the test
- Ensure that the test server and HUT are separate machines, on the same fabric(s).
- Running the test
-
This is an interactive test. Run the following command and then select the appropriate
RoCE connectiontest name from the list that displays.rhcert-runThe system prompts you with a dropdown to select an IP address of the test server for the test. Select an IP address corresponding to a device on the same fabric of the HUT device you are running the test for.
- Manually adding and running the test
-
- To manually add the test, run the following command:
rhcert-cli plan --add --test <speed_type> --device <device name>_devicePort_<port number>_netDevice_<net device> - To manually run the test, run the following command:
rhcert-cli run --test <speed_type> --server <test server IP addr>Replace
<speed type>,<device name>,<port number>,<net device>, and<test server IP addr>with the appropriate values.
- To manually add the test, run the following command:
- Supported speed types
-
The following RoCE speed types are supported:
- 2_5GigRoCE
- 5GigRoCE
- 10GigRoCE
- 20GigRoCE
- 25GigRoCE
- 40GigRoCE
- 50GigRoCE
- 100GigRoCE
- 200GigRoCE
- 400GigRoCE