Subject: [PATCH iproute2-rc 2/2] rdma: Document adaptive-moderation

From: Leon Romanovsky <[email-masked]>
Date: Mon, 29 Jul 2019 10:42:26 +0300

From: Yamin Friedman <[email-masked]>

Add document of setting the adaptive-moderation for the ib device.

Signed-off-by: Yamin Friedman <[email-masked]>
Signed-off-by: Leon Romanovsky <[email-masked]>
---
 man/man8/rdma-dev.8 | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/man/man8/rdma-dev.8 b/man/man8/rdma-dev.8
index e77e7cd0..368cdc7c 100644
--- a/man/man8/rdma-dev.8
+++ b/man/man8/rdma-dev.8
@@ -34,11 +34,17 @@ rdma-dev \- RDMA device configuration
 .BR netns
 .BR NSNAME
 
+.ti -8
+.B rdma dev set
+.RI "[ " DEV " ]"
+.BR adaptive-moderation
+.BR [on/off]
+
 .ti -8
 .B rdma dev help
 
 .SH "DESCRIPTION"
-.SS rdma dev set - rename RDMA device or set network namespace
+.SS rdma dev set - rename RDMA device or set network namespace or set RDMA device adaptive-moderation
 
 .SS rdma dev show - display RDMA device attributes
 
@@ -70,6 +76,14 @@ Changes the network namespace of RDMA device to foo where foo is
 previously created using iproute2 ip command.
 .RE
 .PP
+rdma dev set mlx5_3 adaptive-moderation [on/off]
+.RS 4
+Sets the state of adaptive interrupt moderation for the RDMA device.
+.RE
+.RS 4
+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.
+.RE
+.PP
 
 .SH SEE ALSO
 .BR ip (8),
-- 
2.20.1