0
count-doku

Clearfog[Pro] Using SFP on Mainline Kernel (4.14.y) (working)

Recommended Posts

Hi there,

 

I realized that in the documentation for Marvell Mainline SFP is listed as unsupported.  ( https://docs.armbian.com/Hardware_Marvell/#mainline )

 

So I tested that with some SFP Module I had laying around (SFP -> 1Gbit/s TP, no fiber though), and everything seems to be working fine. 

I will attach armbianmonitor -u and some proof. 

 

Maybe you can then put SFP as supported for mainline armada.

 

Armbianmonitor -u: http://ix.io/1APB

Used module: https://www.ebay.de/itm/142747822671 (maybe this can also be added as tested to the download page)

ethtool output with attached sfp module (and cable):

root@clearfogpro:~# ethtool eth2
Settings for eth2:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full
                                             100baseT/Half 100baseT/Full
                                             1000baseT/Full
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 22
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: d
        Wake-on: d
        Link detected: yes

Iperf3 Test from Windows Machine, notice big difference in sending / receiving.

PS D:\Data\Desktop\iperf-3.1.3-win64> .\iperf3.exe -c 192.168.1.1
Connecting to host 192.168.1.1, port 5201
[  4] local 192.168.1.170 port 50522 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   104 MBytes   870 Mbits/sec
[  4]   1.00-2.00   sec   107 MBytes   895 Mbits/sec
[  4]   2.00-3.00   sec   109 MBytes   916 Mbits/sec
[  4]   3.00-4.00   sec   109 MBytes   917 Mbits/sec
[  4]   4.00-5.00   sec   108 MBytes   910 Mbits/sec
[  4]   5.00-6.00   sec   109 MBytes   915 Mbits/sec
[  4]   6.00-7.00   sec   109 MBytes   913 Mbits/sec
[  4]   7.00-8.00   sec   108 MBytes   910 Mbits/sec
[  4]   8.00-9.00   sec   108 MBytes   906 Mbits/sec
[  4]   9.00-10.00  sec   109 MBytes   911 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec  1.06 GBytes   906 Mbits/sec                  sender
[  4]   0.00-10.00  sec  1.06 GBytes   906 Mbits/sec                  receiver

iperf Done.
PS D:\Data\Desktop\iperf-3.1.3-win64> .\iperf3.exe -Rc 192.168.1.1
Connecting to host 192.168.1.1, port 5201
Reverse mode, remote host 192.168.1.1 is sending
[  4] local 192.168.1.170 port 50524 connected to 192.168.1.1 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  63.9 MBytes   534 Mbits/sec
[  4]   1.00-2.00   sec  62.3 MBytes   524 Mbits/sec
[  4]   2.00-3.00   sec  71.0 MBytes   596 Mbits/sec
[  4]   3.00-4.00   sec  72.0 MBytes   604 Mbits/sec
[  4]   4.00-5.00   sec  71.5 MBytes   600 Mbits/sec
[  4]   5.00-6.00   sec  71.3 MBytes   598 Mbits/sec
[  4]   6.00-7.00   sec  68.8 MBytes   577 Mbits/sec
[  4]   7.00-8.00   sec  69.8 MBytes   585 Mbits/sec
[  4]   8.00-9.00   sec  70.3 MBytes   589 Mbits/sec
[  4]   9.00-10.00  sec  65.7 MBytes   551 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   687 MBytes   576 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   687 MBytes   576 Mbits/sec                  receiver

iperf Done.
PS D:\Data\Desktop\iperf-3.1.3-win64>

 

 

Greetings,

count-doku

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
0