Hello,
I am developing the Ethernet UDP packet exchange application with using a jumbo packets. I've rebuild the for using the jumbo packet. In order to send and receive UDP packets by using the same socket I've used the fdPoll() function for a one socket with POLLINFTIM parameter. I've tested the 8K UDP packet receive with interval more 1 ms , application received jumbo packet. And when I set a breakpoints after fdpoll() to see that recvncfrom() returned correct result.
Application needs to receive the UDP packet (600 bytes) with interval about 30 micro seconds up to 8K UDP packet with interval 250 - 300 microseconds. In order to debug short UDP packet receive I set a breakpoint on recvncfrom() function, and then start uninterrupted UDP packet transmission from other device (as UDP packet generator). But unfortunately program wasn't stopped at the breakpoint. Then I pulled out RJ-45 jack from a socket (break ethernet line) and program was stopped at the breakpoint. I pressed some times the "resume" button and program was stopped some time at the breakpoint. As I got it some packets were received and network scheduler issued events to the a receive task. I don't understand what is the reason.
The receive function should copy the packet to a memory with edma and start the task for a packets processing on other cores. I use core 0 for communication only.
The configuration:
xdctools 3.55.2.22
NDK 3.61.1.01
SYS/BIOS 6.76.2.02
With the best regards,
Alex