Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
939 Views

Altera Offload UDP IP-How to change Minimum Packet Size

Hi, 

 

I'm trying to use Altera UDP Offload IP for my project. But the minimum packet size is 46, the minimum UDP payload is 18 bytes. This is a limitation. If the UDP payload is less than 18 bytes, zeros will be appended into the packet. Can any one help me that what needs to be changed to reduce this minimum packet size? Or why it has to be 18 bytes, which parameter in the verilog files determines this? 

Thank you, 

David
0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
58 Views

The 46 minimum packet size is due to Ethernet physical medium. 

AFAIK this derives from collision detection requirements, since this is the minimum frame length which guarantees that overlapping frames are discovered.
Altera_Forum
Honored Contributor I
58 Views

Thank for your reply. The UDP length can be set to a smaller number. The data is actually send by the Ethernet as trailer. So it is ok.

Altera_Forum
Honored Contributor I
58 Views

AFAIK the documentation for the `udp_payload_inserter` module states that if user supplies less data over the Avalon, the module will pad the rest and send it as ethernet trailer (zeros).

Altera_Forum
Honored Contributor I
58 Views

Thanks.  

This thread is closed.  

David
Reply