[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YAb+zI71+d67mlwz@lunn.ch>
Date: Tue, 19 Jan 2021 16:46:20 +0100
From: Andrew Lunn <andrew@...n.ch>
To: "ashiduka@...itsu.com" <ashiduka@...itsu.com>
Cc: "hkallweit1@...il.com" <hkallweit1@...il.com>,
"linux@...linux.org.uk" <linux@...linux.org.uk>,
"davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"torii.ken1@...itsu.com" <torii.ken1@...itsu.com>
Subject: Re: [PATCH v2] net: phy: realtek: Add support for RTL9000AA/AN
On Mon, Jan 18, 2021 at 10:17:04AM +0000, ashiduka@...itsu.com wrote:
> Hi Andrew
>
> > > Do you know how to switch between master/slave?
> >
> > There was a patch to ethtool merged for this:
> >
> > commit 558f7cc33daf82f945af432c79db40edcbe0dad0
> > Author: Oleksij Rempel <o.rempel@...gutronix.de>
> > Date: Wed Jun 10 10:37:43 2020 +0200
> >
> > netlink: add master/slave configuration support
>
> I know this.
> --
> # ./ethtool --version
> ethtool version 5.10
> # ./ethtool -s eth1 master-slave slave-force
> ethtool (-s): invalid value 'slave-force' for parameter 'master-slave'
The parameter is called 'forced-slave'. See the man page:
ethtool -s devname [speed N] [duplex half|full] [port tp|aui|bnc|mii]
[mdix auto|on|off] [autoneg on|off] [advertise N[/M] |
advertise mode on|off ...] [phyad N] [xcvr internal|external]
[wol N[/M] | wol p|u|m|b|a|g|s|f|d...]
[sopass xx:yy:zz:aa:bb:cc] [master-slave preferred-
master|preferred-slave|forced-master|forced-slave] [msglvl
N[/M] | msglvl type on|off ...]
sudo ethtool -s eth10 master-slave forced-master
netlink error: master/slave configuration not supported by device (offset 36)
netlink error: Operation not supported
Andrew
Powered by blists - more mailing lists