[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200719235928.336953-2-gvaradar@cisco.com>
Date: Sun, 19 Jul 2020 16:59:28 -0700
From: Govindarajulu Varadarajan <gvaradar@...co.com>
To: netdev@...r.kernel.org, edumazet@...gle.com,
linville@...driver.com, mkubecek@...e.cz
Cc: govind.varadar@...il.com, benve@...co.com,
Govindarajulu Varadarajan <gvaradar@...co.com>
Subject: [PATCH ethtool v3 2/2] man: add man page for ETHTOOL_GTUNABLE and ETHTOOL_STUNABLE
Signed-off-by: Govindarajulu Varadarajan <gvaradar@...co.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 --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
--
2.27.0
Powered by blists - more mailing lists