Hi Dimax,

On Tue, May 28, 2013 at 03:19:41PM +0300, Dimax wrote:
> Hi,
> Thanks for your answer. But I need to clarify it
> If I set MTU=1500 am I guaranteed not to get Ethernet frames bigger then
> 1514 bytes?

You are not, MTU is Maximum -Transmission- Unit, not receive. You might 
receive giant frames from your Ethernet scope (802.1q, 802.1ad, MPLS 
Frames, ...), but your hardware MAC should drop giant frames if you 
haven't configured it to handle/pass them.


> I need to know it to make proper DMA buffers allocation. As far as I 
> understand MTU is exchanged between two ETH peers via management 
> packets and each side should respect peers MTU?

MTU is not exchanged, at least not on the Ethernet layer. All hosts on a 
Ethernet subnet should have the same configured MTU. On the IP side, 
ICMP might be used to discover the maximum usable MTU over a layer 3 
network path.


Sylvain

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to