Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is obsoleted by iproute2's 'rdma link add' command. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
- Loading branch information
1 parent
c3e44d5
commit 0d2ff0e
Showing
10 changed files
with
10 additions
and
822 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,14 @@ | ||
# Configure Soft-RoCE (RXE): | ||
|
||
Load rdma_rxe kernel module using the rxe_cfg script included in the librxe RPM: | ||
|
||
# rxe_cfg start (this might require sudo or root privileges) | ||
|
||
Create RXE device over network interface (e.g. eth0): | ||
|
||
# rxe_cfg add eth0 | ||
# rdma link add rxe_eth0 type rxe netdev eth0 | ||
|
||
Use the status command to display the current configuration: | ||
rxe_cfg status | ||
|
||
If configured successfully, you should see output similar to the following: | ||
|
||
``` | ||
Name Link Driver Speed NMTU IPv4_addr RDEV RMTU | ||
eth0 yes mlx4_en rxe0 1024 (3) | ||
``` | ||
# rdma link | ||
|
||
If you are using a Mellanox HCA: Need to make sure that the mlx4_ib kernel module is not loaded (modprobe –rv mlx4_ib) in the soft-RoCE machine. | ||
Now you have an Infiniband device called “rxe0” that can be used to run any RoCE app. | ||
If you are using a Mellanox HCA, make sure that the mlx4_ib/mlx5_ib kernel | ||
module is not loaded (modprobe –rv mlx4_ib) in the soft-RoCE machine. Now you | ||
have an Infiniband device called “rxe0_eth0” that can be used to run any RoCE | ||
app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
rdma_provider(rxe | ||
rxe.c | ||
) | ||
rdma_subst_install(FILES "rxe_cfg.in" | ||
RENAME "rxe_cfg" | ||
DESTINATION "${CMAKE_INSTALL_BINDIR}" | ||
PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
rdma_man_pages( | ||
rxe.7 | ||
rxe_cfg.8 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.