Blame man/man8/rdma-dev.8

Packit Service 3880ab
.TH RDMA\-DEV 8 "06 Jul 2017" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
rdma-dev \- RDMA device configuration
Packit Service 3880ab
.SH SYNOPSIS
Packit Service 3880ab
.sp
Packit Service 3880ab
.ad l
Packit Service 3880ab
.in +8
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma
Packit Service 3880ab
.RI "[ " OPTIONS " ]"
Packit Service 3880ab
.B dev
Packit Service 3880ab
.RI  " { " COMMAND " | "
Packit Service 3880ab
.BR help " }"
Packit Service 3880ab
.sp
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.IR OPTIONS " := { "
Packit Service 3880ab
\fB\-V\fR[\fIersion\fR] |
Packit Service 3880ab
\fB\-d\fR[\fIetails\fR] }
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma dev show
Packit Service 3880ab
.RI "[ " DEV " ]"
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma dev set
Packit Service 3880ab
.RI "[ " DEV " ]"
Packit Service 3880ab
.BR name
Packit Service 3880ab
.BR NEWNAME
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma dev set
Packit Service 3880ab
.RI "[ " DEV " ]"
Packit Service 3880ab
.BR netns
Packit Service 3880ab
.BR NSNAME
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma dev set
Packit Service 3880ab
.RI "[ " DEV " ]"
Packit Service 3880ab
.BR adaptive-moderation
Packit Service 3880ab
.BR [on/off]
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma dev help
Packit Service 3880ab
Packit Service 3880ab
.SH "DESCRIPTION"
Packit Service 3880ab
.SS rdma dev set - rename RDMA device or set network namespace or set RDMA device adaptive-moderation
Packit Service 3880ab
Packit Service 3880ab
.SS rdma dev show - display RDMA device attributes
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "DEV"
Packit Service 3880ab
- specifies the RDMA device to show.
Packit Service 3880ab
If this argument is omitted all devices are listed.
Packit Service 3880ab
Packit Service 3880ab
.SH "EXAMPLES"
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma dev
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows the state of all RDMA devices on the system.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma dev show mlx5_3
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows the state of specified RDMA device.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma dev set mlx5_3 name rdma_0
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Renames the mlx5_3 device to rdma_0.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma dev set mlx5_3 netns foo
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Changes the network namespace of RDMA device to foo where foo is
Packit Service 3880ab
previously created using iproute2 ip command.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma dev set mlx5_3 adaptive-moderation [on/off]
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Sets the state of adaptive interrupt moderation for the RDMA device.
Packit Service 3880ab
.RE
Packit Service 3880ab
.RS 4
Packit Service 3880ab
This is a global setting for the RDMA device but the value is printed for each CQ individually because the state is constant from CQ allocation.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR ip (8),
Packit Service 3880ab
.BR rdma (8),
Packit Service 3880ab
.BR rdma-link (8),
Packit Service 3880ab
.BR rdma-resource (8),
Packit Service 3880ab
.BR rdma-system (8),
Packit Service 3880ab
.BR rdma-statistic (8),
Packit Service 3880ab
.br
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
Leon Romanovsky <leonro@mellanox.com>