Xilinx / RFSoC-PYNQ

Python productivity for RFSoC platforms
Other
52 stars 26 forks source link

Specify proper size not to send frames larger than standard MTU (1500-Byte) #4

Closed mariodruiz closed 2 years ago

mariodruiz commented 2 years ago

The current notebook could be use to send packets to a NIC, however the transfer buffers is 4 times larger than needed as the default size is 4-Byte for element. However, for ASCII character we only need 1-Byte.

This is not a big deal in loopback. However, the frame ends being larger than 1500-Byte, which is the standard MTU size in Linux. Thus, the OS drops the frame, unless the MTU is changed.