Hi All,
I am testing an application use the RAWETH to send raw ethernet package on Sitara AM335x processor. I open a session in one parent task by using the "fdOpenSession(TaskSelf())" and ask for two socket handle in it. Then it will open two child tasks and each task also will open its own fd by calling "fdOpenSession(TaskSelf())" .But use the sockets which was applied by parent task to send and receive.
Now receive socket is running OK.But when I use "send" command to send frame through socket, One of the task will return ENOBUFS.I also tried to enlarge the pktNumFrameBufs in NDK from default 190 to 512 and 1024 and 2048. Acturally it can make the task to send more frames .But in the end ,it will always return ENOBUFS error. And the frame numbers to ben sent is propotional to the size of pktNumFrameBufs .
For ex:
pktNumFrameBufs = 512 , the frame numbets sent success is around 1700
pktNumFrameBufs = 1024 , the frame numbets sent success is around 3400
pktNumFrameBufs = 256 , the frame numbets sent success is around 850
Is somebody have some idea?
Thank you!