From: Govindarajulu Varadarajan <gvaradar@cisco.com>
To: netdev@vger.kernel.org, edumazet@google.com,
linville@tuxdriver.com, mkubecek@suse.cz
Cc: govind.varadar@gmail.com, benve@cisco.com,
Govindarajulu Varadarajan <gvaradar@cisco.com>
Subject: [PATCH ethtool v3 2/2] man: add man page for ETHTOOL_GTUNABLE and ETHTOOL_STUNABLE
Date: Sun, 19 Jul 2020 16:59:28 -0700 [thread overview]
Message-ID: <20200719235928.336953-2-gvaradar@cisco.com> (raw)
In-Reply-To: <20200719235928.336953-1-gvaradar@cisco.com>
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 --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
next prev parent reply other threads:[~2020-07-20 6:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-19 23:59 [PATCH ethtool v3 1/2] ethtool: add support for get/set ethtool_tunable Govindarajulu Varadarajan
2020-07-19 23:59 ` Govindarajulu Varadarajan [this message]
2020-07-20 21:30 ` Michal Kubecek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200719235928.336953-2-gvaradar@cisco.com \
--to=gvaradar@cisco.com \
--cc=benve@cisco.com \
--cc=edumazet@google.com \
--cc=govind.varadar@gmail.com \
--cc=linville@tuxdriver.com \
--cc=mkubecek@suse.cz \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.