[Macchiato] SFP+ ports - any config needed?

Steve McIntyre steve at einval.com
Tue Dec 25 16:32:12 GMT 2018


Hey Baruch,

On Tue, Dec 25, 2018 at 12:07:13PM +0200, Baruch Siach wrote:
>On Wed, Dec 19, 2018 at 01:56:14PM +0000, Steve McIntyre wrote:
>> 
>> No, no messages like that at all.
>
>Something is wrong there. I tested SFP on Macchiatobin rev 1.2 that is lying 
>around here. Both the right most cage (eth3) and the middle one (eth0) show 
>the kernel sfp messages. I tested v4.20 with the attached defconfig.

OK.

>> >Also, what do you get for 'ethtool -m eth0'?
>> 
>> root at mjolnir:/home/steve/linux.git# ethtool -m eth0
>> Cannot get module EEPROM information: Operation not supported
>> 
>> (All tested using 4.20.0-rc7)
>
>Indeed. I can reproduce that here. This is most likely due to missing SFP 
>support in the marvell10g PHY driver. Russell King's git tree carries a patch 
>or that:
>
>  http://git.armlinux.org.uk/cgit/linux-arm.git/commit/?h=phy&id=1b27b887ec62abf335c1602e5149f6b075907ac1
>
>When I put the SFP module on the PHY-less SFP cage (eth3) I get the expected 
>output from 'ethtool -m'.

OK. I'll have a play when I get some time. Might be a few days with
the Christmas break... :-)

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll




More information about the Macchiato mailing list