Part Number:DP83867E
Hi
I am using a DP83867E PHY on my custom FPGA board. If I connect my FPGA board to my PC directly, I am getting the throughput I wanted and things are looking fine on Wireshark. Only when I use a gigabit ethernet switch between my PC and custom FPGA board, I got lots of retransmissions on Wireshark and receive really low throughput. On PC side, I am running the iperf client with the same options (send data continuously for 10 seconds) in both cases, and FPGA firmware is exactly the same. The same throughput test I run on an Altera Dev Board (with a marvell 88e1111 PHY) was working fine with and without the ethernet switch. When I look into DP83867 Registers, I have the following register values.
Reg# | With Ethernet Switch | Without Ethernet Switch | comment |
0000 | 0x1140 | 0x1140 | |
0001 | 0x7969 | 0x796D | LINK STATUS: Not established with the switch |
0002 | 0x2000 | 0x2000 | |
0003 | 0xA231 | 0xA231 | |
0004 | 0x01E1 | 0x01E1 | |
0005 | 0xCDE1 | 0xCDE1 | |
0006 | 0x006F | 0x006F | |
0007 | 0x2001 | 0x2001 | |
0008 | 0x6001 | 0x6001 | |
0009 | 0x0300 | 0x0300 | |
000A | 0x38FF | 0x7C00 | |
000D | 0x401F | 0x401F | |
000E | 0x0000 | 0x0000 | |
000F | 0x3000 | 0x3000 | |
0010 | 0x5048 | 0x5048 | |
0011 | 0xBC02 | 0xBC02 | |
0012 | 0x0000 | 0x0000 | |
0013 | 0x1C44 | 0x1C00 | |
0014 | 0x29C7 | 0x29C7 | |
0015 | 0x0001 | 0x0000 | |
0016 | 0x0000 | 0x0000 | |
0017 | 0x0040 | 0x0040 | |
0018 | 0x6150 | 0x6150 | |
0019 | 0x4444 | 0x4444 | |
001A | 0x0002 | 0x0002 | |
001E | 0x0002 | 0x0002 | |
001F | 0x0000 | 0x0000 | |
0025 | 0x0400 | 0x0400 | |
0031 | 0x10B0 | 0x10B0 | |
0032 | 0x10D3 | 0x10D3 | |
0033 | 0x0000 | 0x0000 | |
0043 | 0x07A0 | 0x07A0 | |
006E | 0x0000 | 0x0000 | |
006F | 0x0000 | 0x0100 | |
0071 | 0x0000 | 0x0000 | |
0072 | 0x0000 | 0x0000 | |
0086 | 0x0077 | 0x0077 | |
00FE | 0xE721 | 0xE721 | |
0134 | 0x1000 | 0x1000 | |
0135 | 0x0000 | 0x0000 | |
LED_0 Strap pin (Mode 1) ----- Mirrior Disabled and SGMII Disabled
LED_1 Strap Pin (Mode 1) ----- ANEG_SEL is 0 and RGMII Clock Skew TX[2] is 0
LED_2 Strap Pin (Mode 1) ----- RGMII Clock Skew TX[1] is 0 and RGMII Clock Skew TX[0] is 0
ANEG_DIS/EEE_DIS (RX_CTRL Mode 3) ----- I changed it from Mode 1 to Mode 3 because of this https://e2e.ti.com/support/interface/ethernet/f/903/p/490569/1789543
CLK_SKEW_RX all open (Mode 1), as well as PHY Addreess (Mode 1)
My problem right now is that I can't get the throughput I wanted with the ethernet switch, I tried 3 different switches, with and without management interface, all having the same issue. As I mentioned earlier, the throughput test worked fine with and without ethernet switch on Altera Dev Board which has a different PHY chip.
Thanks,
Shan Z