[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] lwIP UDP echo server fails to send message lengths of 4
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] lwIP UDP echo server fails to send message lengths of 4385 & 4386 |
Date: |
Sat, 4 Feb 2023 13:58:05 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hi Dan,
On Fri, Feb 03, 2023 at 02:57:24PM -0800, Dan Nygren wrote:
> Sylvain wrote > ... Anyway, basic rule about using fragmented IP packets:
> avoid (to not say
> don't).
>
> Thank you for the advice Sylvain. My design is keeping its packets under
> the Ethernet 1500 octet MTU. I had made a diagnostic command to have my
> design send back arbitrarily sized messages to prove everything was working
> correctly when I ran into the 4385/4386 message size problem.
My best guess is a low level driver bug that happen when packets are
sent in a short timeframe, which big UDP packets do due to IP
fragmentation taking place. Sending small packets at a low rate does not
fix the problem, it just hides it.
Sylvain
signature.asc
Description: Digital signature