Hello HPS Thank you for your help and your investigation on this.
I start a couple of additional test in the next few days and let you know if I can find additional details. Just to be sure: What was the FreeBSD version you have tested with? Best regards Tom -----Ursprüngliche Nachricht----- Von: Hans Petter Selasky [mailto:h...@selasky.org] Gesendet: Mittwoch, 14. Juni 2017 17:41 An: syr...@freebsd.org; Tom Huerlimann <off...@thuinformatik.ch> Cc: freebsd-net@freebsd.org Betreff: Re: axge0 and AX88179 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
smime.p7s
Description: S/MIME cryptographic signature