cancel
Showing results for 
Search instead for 
Did you mean: 

LWIP loss small packets in high rate

ranran
Senior II

Hi,

This is not an STM32 question, but more related to LWIP. Yet, maybe someone here will have an idea.

We use LWIP AS-IS from the example, and we test the Ethernet receive in high load with udp packets.

We see that when send from the tester device small packets ( less then 450 bytes), in high rate into the stm32, it gets into LWIP drop packet, because pcb is null. I thought that maybe there are not enough PCB, to I tried to increase UDP PCB packets, but I get the same results.

Thanks,

ranran

1 REPLY 1
Ozone
Lead

I would measure the system load, especially of the ethernet handling routines (interrupt or DMA) in relation to arriving metwork packages.

I suspect an overload.