FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6519 Discussions

Altera Offload UDP IP-How to change Minimum Packet Size

Altera_Forum
Honored Contributor II
1,373 Views

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 II
492 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.
0 Kudos
Altera_Forum
Honored Contributor II
492 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.

0 Kudos
Altera_Forum
Honored Contributor II
492 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).

0 Kudos
Altera_Forum
Honored Contributor II
492 Views

Thanks.  

This thread is closed.  

David
0 Kudos
Reply