Skip to content

Commit

Permalink
rxe: Remove rxe_cfg
Browse files Browse the repository at this point in the history
This is obsoleted by iproute2's 'rdma link add' command.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
  • Loading branch information
jgunthorpe committed Jan 31, 2020
1 parent c3e44d5 commit 0d2ff0e
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 822 deletions.
20 changes: 6 additions & 14 deletions Documentation/rxe.md
@@ -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.
2 changes: 0 additions & 2 deletions README.md
Expand Up @@ -115,8 +115,6 @@ command above to work.
You can use either `ibv_devices` or `rdma link` to verify that the device was
successfully added.

Use of `rxe_cfg` is deprecated, please use the `rdma` command instead.

# Reporting bugs

Bugs should be reported to the <linux-rdma@vger.kernel.org> mailing list
Expand Down
2 changes: 0 additions & 2 deletions debian/rdma-core.install
Expand Up @@ -21,7 +21,6 @@ lib/udev/rules.d/90-iwpmd.rules
lib/udev/rules.d/90-rdma-hw-modules.rules
lib/udev/rules.d/90-rdma-ulp-modules.rules
lib/udev/rules.d/90-rdma-umad.rules
usr/bin/rxe_cfg
usr/lib/truescale-serdes.cmds
usr/sbin/iwpmd
usr/sbin/rdma-ndd
Expand All @@ -34,4 +33,3 @@ usr/share/man/man5/iwpmd.conf.5
usr/share/man/man7/rxe.7
usr/share/man/man8/iwpmd.8
usr/share/man/man8/rdma-ndd.8
usr/share/man/man8/rxe_cfg.8
5 changes: 0 additions & 5 deletions providers/rxe/CMakeLists.txt
@@ -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
)
1 change: 0 additions & 1 deletion providers/rxe/man/CMakeLists.txt
@@ -1,4 +1,3 @@
rdma_man_pages(
rxe.7
rxe_cfg.8
)
14 changes: 3 additions & 11 deletions providers/rxe/man/rxe.7
Expand Up @@ -6,7 +6,7 @@ rxe \- Software RDMA over Ethernet
.SH "SYNOPSIS"
\fBmodprobe rdma_rxe\fR
.br
This is usually performed by a configuration utility (see \fBrxe_cfg\fR(8).)
This is usually performed by a configuration utility (see \fBrdma link\fR(8).)

.SH "DESCRIPTION"
The rdma_rxe kernel module provides a software implementation of the RoCEv2
Expand All @@ -23,17 +23,9 @@ In particular, while the use of a GRH header is optional within IB subnets, it i
\fB/sys/class/infiniband/rxe[0,1,...]\fR
Directory that holds RDMA device information. The format is the same as other RDMA devices.

.TP
\fB/sys/module/rdma_rxe_net/parameters/add\fR
Write only file used by \fBrxe_cfg(8)\fR to add new RXE devices to existing Ethernet devices.

.TP
\fB/sys/module/rdma_rxe_net/parameters/remove\fR
Write only file used by \fBrxe_cfg(8)\fR to remove RXE devices.

.TP
\fB/sys/module/rdma_rxe_net/parameters/mtu\fR
Write only file used by \fBrxe_cfg(8)\fR to configure RoCE and Ethernet MTU values.
Write only file used to configure RoCE and Ethernet MTU values.

.TP
\fB/sys/module/rdma_rxe/parameters/max_ucontext\fR
Expand Down Expand Up @@ -98,7 +90,7 @@ Read/Write file that controls the maximum gap between the PSN of request packets
Read/Write file that controls the default mtu used for UD packets.

.SH "SEE ALSO"
.BR rxe_cfg (8),
.BR rdma (8),
.BR verbs (7),

.SH "AUTHORS"
Expand Down
104 changes: 0 additions & 104 deletions providers/rxe/man/rxe_cfg.8

This file was deleted.

0 comments on commit 0d2ff0e

Please sign in to comment.