From: Florian Fainelli <f.fainelli@gmail.com>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com,
"David S. Miller" <davem@davemloft.net>,
Andrew Lunn <andrew@lunn.ch>
Subject: Re: [PATCH net-next 0/5] net: dsa: use generic slave phydev
Date: Tue, 26 Sep 2017 16:55:36 -0700 [thread overview]
Message-ID: <28fd7053-eb5a-730e-b2db-33df44d6a3b6@gmail.com> (raw)
In-Reply-To: <20170926211535.21273-1-vivien.didelot@savoirfairelinux.com>
On 09/26/2017 02:15 PM, Vivien Didelot wrote:
> DSA currently stores a phy_device pointer in each slave private
> structure. This requires to implement our own ethtool ksettings
> accessors and such.
>
> This patchset removes the private phy_device in favor of the one
> provided in the net_device structure, and thus allows us to use the
> generic phy_ethtool_* functions.
For this series:
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
On bcm_sf2 (7445 and 7278) along with the externally attached BCM53125
switch that needs the special MDIO read/write divert. We properly attach
to the right PHY devices in all cases.
Also tested unbind/bind, working correctly.
Thanks!
>
> Vivien Didelot (5):
> net: dsa: return -ENODEV is there is no slave PHY
> net: dsa: use slave device phydev
> net: dsa: use phy_ethtool_get_link_ksettings
> net: dsa: use phy_ethtool_set_link_ksettings
> net: dsa: use phy_ethtool_nway_reset
>
> net/dsa/dsa_priv.h | 1 -
> net/dsa/slave.c | 143 +++++++++++++++++++----------------------------------
> 2 files changed, 52 insertions(+), 92 deletions(-)
>
--
Florian
next prev parent reply other threads:[~2017-09-26 23:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-26 21:15 [PATCH net-next 0/5] net: dsa: use generic slave phydev Vivien Didelot
2017-09-26 21:15 ` [PATCH net-next 1/5] net: dsa: return -ENODEV is there is no slave PHY Vivien Didelot
2017-09-26 21:49 ` Andrew Lunn
2017-09-26 21:59 ` Florian Fainelli
2017-09-26 21:15 ` [PATCH net-next 2/5] net: dsa: use slave device phydev Vivien Didelot
2017-09-26 21:56 ` Andrew Lunn
2017-09-26 23:54 ` Florian Fainelli
2017-09-26 21:15 ` [PATCH net-next 3/5] net: dsa: use phy_ethtool_get_link_ksettings Vivien Didelot
2017-09-26 21:57 ` Andrew Lunn
2017-09-26 22:00 ` Florian Fainelli
2017-09-26 21:15 ` [PATCH net-next 4/5] net: dsa: use phy_ethtool_set_link_ksettings Vivien Didelot
2017-09-26 21:57 ` Andrew Lunn
2017-09-26 22:05 ` Florian Fainelli
2017-09-26 21:15 ` [PATCH net-next 5/5] net: dsa: use phy_ethtool_nway_reset Vivien Didelot
2017-09-26 21:58 ` Andrew Lunn
2017-09-26 22:05 ` Florian Fainelli
2017-09-26 23:55 ` Florian Fainelli [this message]
2017-09-27 3:06 ` [PATCH net-next 0/5] net: dsa: use generic slave phydev 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=28fd7053-eb5a-730e-b2db-33df44d6a3b6@gmail.com \
--to=f.fainelli@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=kernel@savoirfairelinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@savoirfairelinux.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).