[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CH2PR12MB3895E1621A2B120C1CB3BB6CD7520@CH2PR12MB3895.namprd12.prod.outlook.com>
Date: Fri, 28 Aug 2020 14:29:10 +0000
From: Asmaa Mnebhi <asmaa@...dia.com>
To: Andrew Lunn <andrew@...n.ch>,
David Thompson <dthompson@...lanox.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
Jiri Pirko <jiri@...lanox.com>,
Asmaa Mnebhi <Asmaa@...lanox.com>
Subject: RE: [PATCH net-next] Add Mellanox BlueField Gigabit Ethernet driver
> > +static int mlxbf_gige_get_link_ksettings(struct net_device *netdev,
> > + struct ethtool_link_ksettings
> *link_ksettings) {
> > + struct phy_device *phydev = netdev->phydev;
> > + u32 supported, advertising;
> phy_ethtool_ksettings_get() and maybe phy_ethtool_ksettings_set().
Sounds good for phy_ethtool_ksettings_get. However, there is no use for phy_ethtool_ksettings_set because our HW only supports 1G full duplex speed. (and consequently aneg is always supported).
Thanks.
Asmaa
Powered by blists - more mailing lists