- specifies the RDMA device to show.
If this argument is omitted all devices are listed.
-.SS rdma dev add - Add a RDMA device with a specific type and parent IB device; This new device provides subset of functionalities defined in IBTA spec.
-.SS rdma dev delete - Delete a RDMA device which is created with the "add" command.
+.SS rdma dev add - add a RDMA device
+
+Add a RDMA device with a specific type and parent IB device. This new device provides a subset of functionalities defined in the IBTA spec.
+
+.SS rdma dev delete - delete a RDMA device
+
+Delete a RDMA device which was created with the "add" command.
.I NAME
- The name of the device being added/deleted.
.I TYPE
-- The type of the device being added; It specifies which functionalities it provides. Supported device type:
+- The type of the device being added. It specifies which functionalities it provides. Supported device type:
.sp
.in +8
.B SMI
-- A device with this type provides SMI (QP0) interface. This device and it's parent associates with the same HCA port and shares the physical link, so when the parent doesn't support SMI, then this type of device can be created to allow the subnet manager to configure the link.
+- A device with this type provides SMI (QP0) interface. This device and its parent associates with the same HCA port and shares the physical link, so when the parent doesn't support SMI, then this type of device can be created to allow the subnet manager to configure the link.
.in -8
.I PARENT_DEV
.PP
rdma dev show mlx5_3
.RS 4
-Shows the state of specified RDMA device.
+Shows the state of the specified RDMA device.
.RE
.PP
rdma dev set mlx5_3 name rdma_0
.PP
rdma dev set mlx5_3 netns foo
.RS 4
-Changes the network namespace of RDMA device to foo where foo is
-previously created using iproute2 ip command.
+Changes the network namespace of RDMA device to foo where foo was
+previously created using the iproute2 ip command.
.RE
.PP
rdma dev set mlx5_3 adaptive-moderation [on/off]
.PP
rdma dev add smi1 type SMI parent ibp8s0f1
.RS 4
-Add a new IB device with name "smi1", type "SMI", and "ibp8s0f1" as its parent device.
+Adds a new IB device with name "smi1", type "SMI", and "ibp8s0f1" as its parent device.
.RE
.PP
rdma dev delete smi1
.RS 4
-Delete the IB device "smi1".
+Deletes the IB device "smi1".
.RE
.PP
- specifies the RDMA link to show.
If this argument is omitted all links are listed.
-.SS rdma link add NAME type TYPE netdev NETDEV - add an rdma link for the specified type to the network device
+.SS rdma link add - add an rdma link
+
+Add an rdma link for the specified type to the network device.
.sp
.BR NAME
- specifies the new name of the rdma link to add
.PP
rdma link show mlx5_2/1
.RS 4
-Shows the state of specified rdma link.
+Shows the state of the specified rdma link.
.RE
.PP
rdma link add rxe_eth0 type rxe netdev eth0
.RS 4
-Adds a RXE link named rxe_eth0 to network device eth0
+Adds a RXE link named rxe_eth0 to network device eth0.
.RE
.PP
rdma link del rxe_eth0
.RS 4
-Removes RXE link rxe_eth0
+Removes RXE link rxe_eth0.
.RE
.PP
.B rdma monitor help
.SH "DESCRIPTION"
-.SS rdma monitor - utility can monitor RDMA device events on all RDMA devices.
+.SS rdma monitor - monitor RDMA device events
+
+This utility can monitor RDMA device events on all RDMA devices.
+
.PP
.B rdma
opens an RDMA Netlink socket, listens on it and dumps the event info.
.PP
rdma monitor
.RS 4
-Listen for events of all RDMA devices
+Listen for events of all RDMA devices.
.RE
.PP
.PP
rdma resource show mlx5_2
.RS 4
-Shows the state of specified rdma device.
+Shows the state of the specified rdma device.
.RE
.PP
rdma res show qp link mlx5_4
.PP
rdma resource show cm_id src-addr 172.16.0.100
.RS 4
-Show CM_IDs bound to local ip address 172.16.0.100
+Show CM_IDs bound to local ip address 172.16.0.100.
.RE
.PP
rdma resource show cq pid 30489
.RS 4
-Show CQs belonging to pid 30489
+Show CQs belonging to pid 30489.
.RE
.PP
rdma resource show ctx ctxn 1
.RB "{ " cntn " | " lqpn " | " pid " | " qp-type " }"
.SH "DESCRIPTION"
-.SS rdma statistic [object] show - Queries the specified RDMA device for RDMA and driver-specific statistics. Show the default hw counters if object is not specified
+.SS rdma statistic [object] show - display RDMA statistics
+
+Queries the specified RDMA device for RDMA and driver-specific statistics. Shows the default hw counters if object is not specified.
.PP
.I "DEV"
- specifies a filter to show only the results matching it.
.SS rdma statistic <object> set - configure counter statistic auto-mode for a specific device/port
-In auto mode all objects belong to one category are bind automatically to a single counter set. The "off" is global for all auto modes together. Not applicable for MR's.
+In auto mode all objects belong to one category are bound automatically to a single counter set. The "off" is global for all auto modes together. Not applicable for MR's.
.SS rdma statistic <object> bind - manually bind an object (e.g., a qp) with a counter
When bound the statistics of this object are available in this counter. Not applicable for MR's.
.PP
rdma statistic show link mlx5_2/1
.RS 4
-Shows the state of the default counter of specified RDMA port
+Shows the state of the default counter of specified RDMA port.
.RE
.PP
rdma statistic qp show
.PP
rdma statistic qp show link mlx5_2 pid 30489
.RS 4
-Shows the state of all qp counters of specified RDMA port and belonging to pid 30489
+Shows the state of all qp counters of specified RDMA port and belonging to pid 30489.
.RE
.PP
rdma statistic qp show link mlx5_2 qp-type UD
.RS 4
-Shows the state of all qp counters of specified RDMA port and with QP type UD
+Shows the state of all qp counters of specified RDMA port and with QP type UD.
.RE
.PP
rdma statistic qp mode
.RS 4
-List current counter mode on all devices
+List current counter mode on all devices.
.RE
.PP
rdma statistic qp mode link mlx5_2/1
.RS 4
-List current counter mode of device mlx5_2 port 1
+List current counter mode of device mlx5_2 port 1.
.RE
.PP
rdma statistic qp set link mlx5_2/1 auto type on
.PP
rdma statistic qp bind link mlx5_2/1 lqpn 178
.RS 4
-On device mlx5_2 port 1, allocate a counter and bind the specified qp on it
+On device mlx5_2 port 1, allocate a counter and bind the specified qp on it.
.RE
.PP
rdma statistic qp unbind link mlx5_2/1 cntn 4 lqpn 178
.RS 4
-On device mlx5_2 port 1, bind the specified qp on the specified counter
+On device mlx5_2 port 1, bind the specified qp on the specified counter.
.RE
.PP
rdma statistic qp unbind link mlx5_2/1 cntn 4
.PP
rdma statistic show mr mrn 6
.RS 4
-Dump a specific MR statistics with mrn 6. Dumps nothing if does not exists.
+Dump a specific MR statistics with mrn 6. Dumps nothing if it does not exist.
.RE
.PP
rdma statistic mode link mlx5_2/1
.RS 4
-Display the optional counters that was enabled on mlx5_2/1.
+Display the optional counters that were enabled on mlx5_2/1.
.RE
.PP
rdma statistic mode supported link mlx5_2/1
exclusive returns error code EBUSY.
When RDMA subsystem is in shared mode, RDMA device is accessible in
-all network namespace. When RDMA device isolation among multiple
+all network namespaces. When RDMA device isolation among multiple
network namespaces is not needed, shared mode can be used.
It is preferred to not change the subsystem mode when there is active
are shared among network namespaces.
.RE
.PP
-.PP
rdma system set privileged-qkey on
.RS 4
Sets the privileged-qkey parameter to on. In this state non-privileged user
.TP
.BR "\-force"
Don't terminate rdma on errors in batch mode.
-If there were any errors during execution of the commands, the application return code will be non zero.
+If there were any errors during execution of the commands, the application return code will be non-zero.
.TP
.BR "\-d" , " --details"
.TP
.BR "\-p" , " --pretty"
-When combined with -j generate a pretty JSON output.
+When combined with -j generate pretty JSON output.
.TP
.BR "\-j" , " --json"
.TP
.BR "\-o" , " \-oneline"
-output each record on a single line, replacing line feeds
+Output each record on a single line, replacing line feeds
with the
.B '\e'
character.
.TP
.B monitor
-- RDMA events monitor
+- RDMA events monitor.
.PP
The names of all objects may be written in full or