From: Florian Fainelli <f.fainelli@gmail.com>
To: "Allan W. Nielsen" <allan.nielsen@microsemi.com>, netdev@vger.kernel.org
Cc: andrew@lunn.ch, raju.lakkaraju@microsemi.com
Subject: Re: [PATCH ethtool v3 2/2] Ethtool: Implements ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE and PHY downshift
Date: Mon, 21 Nov 2016 17:51:31 -0800 [thread overview]
Message-ID: <b8b7463f-0acc-fcfa-e3c0-251e8fdc24b8@gmail.com> (raw)
In-Reply-To: <1479384480-31201-3-git-send-email-allan.nielsen@microsemi.com>
On 11/17/2016 04:08 AM, Allan W. Nielsen wrote:
> From: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>
>
> Add ethtool get and set tunable to access PHY drivers.
>
> Ethtool Help: ethtool -h for PHY tunables
> ethtool --set-phy-tunable DEVNAME Set PHY tunable
> [ downshift on|off [count N] ]
> ethtool --get-phy-tunable DEVNAME Get PHY tunable
> [ downshift ]
>
> Ethtool ex:
> ethtool --set-phy-tuanble eth0 downshift on
> ethtool --set-phy-tuanble eth0 downshift off
> ethtool --set-phy-tuanble eth0 downshift on count 2
s/tunable/tunable/
Since this will be used as examples for people testing this feature,
this is kind of important to get the example right ;)
Other than that:
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
>
> ethtool --get-phy-tunable eth0 downshift
>
> Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microsemi.com>
> Signed-off-by: Allan W. Nielsen <allan.nielsen@microsemi.com>
> ---
> +.B downshift
> +For operation in cabling environments that are incompatible with 1000BASE-T,
> +PHY device provides an automatic link speed downshift operation.
Might be worth mentioning that this is particularly useful if you are
using a cable which does not have the 4 pairs for instance.
--
Florian
next prev parent reply other threads:[~2016-11-22 1:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-17 12:07 [PATCH ethtool v3 0/2] Adding downshift support to ethtool Allan W. Nielsen
2016-11-17 12:07 ` [PATCH ethtool v3 1/2] ethtool-copy.h:sync with net Allan W. Nielsen
2016-11-22 1:03 ` Florian Fainelli
2016-11-17 12:08 ` [PATCH ethtool v3 2/2] Ethtool: Implements ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE and PHY downshift Allan W. Nielsen
2016-11-22 1:51 ` Florian Fainelli [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-11-15 10:21 [PATCH ethtool v3 0/2] Adding downshift support to ethtool Allan W. Nielsen
2016-11-15 10:21 ` [PATCH ethtool v3 2/2] Ethtool: Implements ETHTOOL_PHY_GTUNABLE/ETHTOOL_PHY_STUNABLE and PHY downshift Allan W. Nielsen
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=b8b7463f-0acc-fcfa-e3c0-251e8fdc24b8@gmail.com \
--to=f.fainelli@gmail.com \
--cc=allan.nielsen@microsemi.com \
--cc=andrew@lunn.ch \
--cc=netdev@vger.kernel.org \
--cc=raju.lakkaraju@microsemi.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).