axge0 and AX88179
Hans Petter Selasky
hps at selasky.org
Wed Jun 14 15:42:45 UTC 2017
Hi Tom,
Thanks for shipping me your device.
I've now done some basic tests and your device shows varying results.
When connecting it to a GBit capable ethernet port using a short cable,
it ends up negotiating 10MBit link speed, whilst connecting to another
other port, 1Gbit link speed. When connecting another such device using
the same chip and phy and everything, only a different PCB layout,
1GBit/s is always negotiated.
Running a simple back2back iperf test gives me:
iperf -i 1 -P4 -c 1.1.1.1
------------------------------------------------------------
Client connecting to 1.1.1.1, TCP port 5001
TCP window size: 32.8 KByte (default)
------------------------------------------------------------
[ 3] local 1.1.1.2 port 20458 connected with 1.1.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 81.4 MBytes 683 Mbits/sec
[ 3] 1.0- 2.0 sec 86.2 MBytes 724 Mbits/sec
[ 3] 2.0- 3.0 sec 86.2 MBytes 724 Mbits/sec
[ 3] 3.0- 4.0 sec 86.4 MBytes 725 Mbits/sec
[ 3] 4.0- 5.0 sec 86.2 MBytes 724 Mbits/sec
[ 3] 5.0- 6.0 sec 86.4 MBytes 725 Mbits/sec
[ 3] 6.0- 7.0 sec 86.0 MBytes 721 Mbits/sec
[ 3] 7.0- 8.0 sec 86.4 MBytes 725 Mbits/sec
[ 3] 8.0- 9.0 sec 86.1 MBytes 722 Mbits/sec
[ 3] 9.0-10.0 sec 86.1 MBytes 722 Mbits/sec
[ 3] 0.0-10.0 sec 858 MBytes 719 Mbits/sec
1) Can you try to override the link speed negotiated:
ifconfig ueX media 100baseTX mediaopt full-duplex
2) Can you try to enable flowcontrol:
ifconfig ueX media autoselect mediaopt flowcontrol
3) The full list of medias accepted is available by entering:
ifconfig -m ueX
If none of the above helps, I'm afraid your device might suffer from an
electrical design problem.
--HPS
More information about the freebsd-net
mailing list