Dear Forum,
I know I am asking quite a bit of questions, the newbe phase will end, eventually
and I'll be able to give back.
Using ST STM32F427, RTOS, lwip and sending data over UDP, If I try to send data small than the MTU:
e.g: netbuf_ref(buf, dataPointer, 1000);
Everything works fine.
If the data is bigger then MTU (e.g 4000):
1. I don't see any data being sent (using wireshark).
2. The lwip buffer will ran out (under low_level_output()) after several iterations (ETH_TXBUFNB =
In stackoverflow I found this "solution":
Delete the definition of CHECKSUM_BY_HARDWARE
http://stackoverflow.com/questions/20851391/lwip-send-udp-packets-larger-than-mtu-but-my-pc-can-not-reassemble-themQuestions:1. Can I send data bigger than MTU with Hardware checksum? How?
Should I break my data into segments?
How can I insert markers into my stream while avoiding unnecessary copy
(Write header to tempBuff, copy dataBuff to tempBuff, in low_level_output copy tempBuff to Tx_Buff)
2. Is there a zero-copy implementation for Cube?
Despite reading ST's answer that the copy time is insignificant it is consumes time and unnecessary memory.
3. Any tips for proper system configuration (e.g how much mem to allocate, MEM_SIZE, MEMP_NUM_PBUF)