|Subject:||[lwip-users] Transmission stall after ARP broadcast|
|Date:||Thu, 15 Feb 2018 15:05:44 +0000|
I have a problem with my Ethernet driver connecting a Ti AM335x CPSW switch to the LwIP stack v1.4.1.
The port stops transmitting after some minutes or hours. The DMA hardware register shows no errors but the transmission stalled. The DMA does not process further packets, but the content of the next packets looks OK.
When I run Wireshark I observe always the same sequence. Every time before the port stops transmission, the last packet sent was an ARP broadcast to the connected host "TexasIns_e4:2a:20 Broadcast ARP Who has 192.168.1.31? Tell 192.168.1.211". Curiously this is the only time the LwIP generates this request after connection was established. There are no other ARP broadcasts until the Tx stall. Attached is a screenshot.
I have two questions about this:
1. What is the reason for the LwIP to generate this ARP broadcast during transmission?
2. Can the LwIP cause a hardware Tx port to stall (because of the packet content)?
|[Prev in Thread]||Current Thread||[Next in Thread]|