Forum Discussion
Altera_Forum
Honored Contributor
14 years agotse transmission get hanged in TCP protocal
Hello,everyone! I want to transfer data between my laptop(the OS is windows XP) and my Stratix III 3sl150 board through ethernet wire. I'm using the hardware and software design found here...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Use a tool such as Wireshark on the PC to see what is happening on the Ethernet link. One issue I had with TCP connections was that the Nios application couldn't handle the TCP window size it was advertising. The FIFO would get full too fast and some packets would be lost, triggering retransmissions. You see this very well in wireshark, when the connection gets really slow you see lots of red packets with "retransmission" written on them. If this is what is happening, then you have two solutions:[list][*]find a way to reduce the TCP window size (probably somewhere in the Interniche TCP/IP stack code)[*]increase the TSE Rx fifo size in SOPC builder/QSys to be at least as big as the TCP window size (32kbytes IIRC).[/list] --- Quote End --- In wireshark, I got the red packets as follows:
11 0.218182 169.254.228.129 169.254.228.120 TCP 4858 > 30 Seq=1 Ack=33 Win=65503 Len=0
13 1.814164 169.254.228.129 169.254.228.120 TCP 4858 > 30 Seq=1 Ack=33 Win=65503 Len=2 there are a lot in this kind
I'm sorry, I'm new to wireshark, can you explain me what does these packets mean?