Blame man/man8/rdma-system.8

Packit Service 3880ab
.TH RDMA\-SYSTEM 8 "06 Jul 2017" "iproute2" "Linux"
Packit Service 3880ab
.SH NAME
Packit Service 3880ab
rdma-system \- RDMA subsystem 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 sys
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 system show
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma system set
Packit Service 3880ab
.BR netns
Packit Service 3880ab
.BR NEWMODE
Packit Service 3880ab
Packit Service 3880ab
.ti -8
Packit Service 3880ab
.B rdma system help
Packit Service 3880ab
Packit Service 3880ab
.SH "DESCRIPTION"
Packit Service 3880ab
.SS rdma system set - set RDMA subsystem network namespace mode
Packit Service 3880ab
Packit Service 3880ab
.SS rdma system show - display RDMA subsystem network namespace mode
Packit Service 3880ab
Packit Service 3880ab
.PP
Packit Service 3880ab
.I "NEWMODE"
Packit Service 3880ab
- specifies the RDMA subsystem mode. Either exclusive or shared.
Packit Service 3880ab
When user wants to assign dedicated RDMA device to a particular
Packit Service 3880ab
network namespace, exclusive mode should be set before creating
Packit Service 3880ab
any network namespace. If there are active network namespaces and if
Packit Service 3880ab
one or more RDMA devices exist, changing mode from shared to
Packit Service 3880ab
exclusive returns error code EBUSY.
Packit Service 3880ab
Packit Service 3880ab
When RDMA subsystem is in shared mode, RDMA device is accessible in
Packit Service 3880ab
all network namespace. When RDMA device isolation among multiple
Packit Service 3880ab
network namespaces is not needed, shared mode can be used.
Packit Service 3880ab
Packit Service 3880ab
It is preferred to not change the subsystem mode when there is active
Packit Service 3880ab
RDMA traffic running, even though it is supported.
Packit Service 3880ab
Packit Service 3880ab
.SH "EXAMPLES"
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma system show
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Shows the state of RDMA subsystem network namespace mode on the system.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma system set netns exclusive
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Sets the RDMA subsystem in network namespace exclusive mode. In this mode RDMA devices
Packit Service 3880ab
are visible only in single network namespace.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
rdma system set netns shared
Packit Service 3880ab
.RS 4
Packit Service 3880ab
Sets the RDMA subsystem in network namespace shared mode. In this mode RDMA devices
Packit Service 3880ab
are shared among network namespaces.
Packit Service 3880ab
.RE
Packit Service 3880ab
.PP
Packit Service 3880ab
Packit Service 3880ab
.SH SEE ALSO
Packit Service 3880ab
.BR rdma (8),
Packit Service 3880ab
.BR rdma-link (8),
Packit Service 3880ab
.BR rdma-resource (8),
Packit Service 3880ab
.BR network_namespaces (7),
Packit Service 3880ab
.BR namespaces (7),
Packit Service 3880ab
.br
Packit Service 3880ab
Packit Service 3880ab
.SH AUTHOR
Packit Service 3880ab
Parav Pandit <parav@mellanox.com>