netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Get MAC supported link modes for SFP port
@ 2020-11-26 15:37 Baruch Siach
  2020-11-26 15:45 ` Russell King - ARM Linux admin
  2020-11-26 15:47 ` Andrew Lunn
  0 siblings, 2 replies; 5+ messages in thread
From: Baruch Siach @ 2020-11-26 15:37 UTC (permalink / raw)
  To: netdev; +Cc: Andrew Lunn, Heiner Kallweit, Russell King

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@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-26 16:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 15:37 Get MAC supported link modes for SFP port Baruch Siach
2020-11-26 15:45 ` Russell King - ARM Linux admin
2020-11-26 15:47 ` Andrew Lunn
2020-11-26 16:01   ` Baruch Siach
2020-11-26 16:13     ` Russell King - ARM Linux admin

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).