[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pn40uo25.fsf@tarshish>
Date: Thu, 26 Nov 2020 17:37:22 +0200
From: Baruch Siach <baruch@...s.co.il>
To: netdev@...r.kernel.org
Cc: Andrew Lunn <andrew@...n.ch>,
Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>
Subject: Get MAC supported link modes for SFP port
Hi netdev list,
I am trying to retrieve all MAC supported link modes
(ETHTOOL_LINK_MODE_*) for network interfaces with SFP port. The
'supported' bit mask that ETHTOOL_GLINKSETTINGS provides in
link_mode_masks[] changes to match the SFP module that happens to be
plugged in. When no SFP module is plugged, the bit mask looks
meaningless.
I understand that ETHTOOL_LINK_MODE_* bits are meant to describe PHY
level capabilities. So I would settle for a MAC level "supported rates"
list.
Is there anything like that?
Thanks,
baruch
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@...s.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
Powered by blists - more mailing lists