On Thu, Nov 29, 2018 at 12:40:11PM +0200, Baruch Siach wrote: > The link modes that sfp_parse_support() detects are stored in the > 'modes' bitmap. There is no reason to make an exception for 1000Base-PX > or 1000Base-BX10.
I think you may be carrying some local patch, have an incorrect merge, or maybe there's a patch in -next which changed this. Mainline has: if (bitmap_empty(modes, __ETHTOOL_LINK_MODE_MASK_NBITS)) { /* If the encoding and bit rate allows 1000baseX */ if (id->base.encoding == SFP_ENCODING_8B10B && br_nom && br_min <= 1300 && br_max >= 1200) phylink_set(modes, 1000baseX_Full); } but your patch changes that phylink_set() from: phylink_set(support, 1000baseX_Full); to: phylink_set(modes, 1000baseX_Full); which in the context of what's in mainline doesn't make sense. -- RMK's Patch system: http://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up According to speedtest.net: 11.9Mbps down 500kbps up