diff mbox series

[ethtool,v3,2/2] man: add man page for ETHTOOL_GTUNABLE and ETHTOOL_STUNABLE

Message ID 20200719235928.336953-2-gvaradar@cisco.com
State Accepted
Delegated to: Michal Kubecek
Headers show
Series [ethtool,v3,1/2] ethtool: add support for get/set ethtool_tunable | expand

Commit Message

Govindarajulu Varadarajan July 19, 2020, 11:59 p.m. UTC
Signed-off-by: Govindarajulu Varadarajan <gvaradar@cisco.com>
---
v3:
Document special values 0 (disabled) and 65535 (auto) for
pfc-prevention-tout.

v2:
Add description

 ethtool.8.in | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
diff mbox series

Patch

diff --git a/ethtool.8.in b/ethtool.8.in
index 689822e..1c93501 100644
--- a/ethtool.8.in
+++ b/ethtool.8.in
@@ -398,6 +398,18 @@  ethtool \- query or control network driver and hardware settings
 .RB [ fast-link-down ]
 .RB [ energy-detect-power-down ]
 .HP
+.B ethtool \-\-get\-tunable
+.I devname
+.RB [ rx-copybreak ]
+.RB [ tx-copybreak ]
+.RB [ pfc-prevention-tout ]
+.HP
+.B ethtool \-\-set\-tunable
+.I devname
+.BN rx\-copybreak
+.BN tx\-copybreak
+.BN pfc\-prevention\-tout
+.HP
 .B ethtool \-\-reset
 .I devname
 .BN flags
@@ -1211,6 +1223,34 @@  Gets the PHY Fast Link Down status / period.
 .B energy\-detect\-power\-down
 Gets the current configured setting for Energy Detect Power Down (if supported).
 
+.RE
+.TP
+.B \-\-get\-tunable
+Get the tunable parameters.
+.RS 4
+.TP
+.B rx\-copybreak
+Get the current rx copybreak value in bytes.
+.TP
+.B tx\-copybreak
+Get the current tx copybreak value in bytes.
+.TP
+.B pfc\-prevention\-tout
+Get the current pfc prevention timeout value in msecs.
+.RE
+.TP
+.B \-\-set\-tunable
+Set driver's tunable parameters.
+.RS 4
+.TP
+.BI rx\-copybreak \ N
+Set the rx copybreak value in bytes.
+.TP
+.BI tx\-copybreak \ N
+Set the tx copybreak value in bytes.
+.TP
+.BI pfc\-prevention\-tout \ N
+Set pfc prevention timeout in msecs. Value of 0 means disable and 65535 means auto.
 .RE
 .TP
 .B \-\-reset