From: Hau <hau@realtek.com>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
nic_swsd <nic_swsd@realtek.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH net] r8169:Remove unnecessary phy reset for pcie nic when setting link spped.
Date: Wed, 9 Mar 2016 16:48:41 +0000 [thread overview]
Message-ID: <80377ECBC5453840BA8C7155328B53770137C08D@RTITMBSV03.realtek.com.tw> (raw)
In-Reply-To: <20160308234855.GA6182@electric-eye.fr.zoreil.com>
[...]
> Can you clarify:
> - actually this patch does not care about the link at all. So when there's
> link no phy reset is needed either, right ?
> - does "this" in "to do this" means that
> 1. phy reset prevents phy from auto speed down
> 2. avoiding phy reset prevents phy from auto speed down
> I would expect 1. from the rtl_wol_pll_power_down + rtl_speed_down +
> rtl8169_set_speed combo (i.e. we want the driver to allow auto speed
> down)
> but it's a bit ambiguous.
Unless pcie nic has bug, pcie nic does not need to reset phy to let phy link on.
There is a counter for phy speed down. If phy is in link down state, this counter will start to count down. When it count to 0, phy will speed down. Reset phy will reset this counter and prevent phy from speed down.
------Please consider the environment before printing this e-mail.
next prev parent reply other threads:[~2016-03-09 16:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 8:51 Chunhao Lin
2016-03-08 23:48 ` Francois Romieu
2016-03-09 16:48 ` Hau [this message]
2016-03-09 21:44 ` Francois Romieu
2016-03-10 21:18 ` David Miller
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=80377ECBC5453840BA8C7155328B53770137C08D@RTITMBSV03.realtek.com.tw \
--to=hau@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.com \
--cc=romieu@fr.zoreil.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
all inboxes | Powered by JetHome®