This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Meet with ENOBUFS(55) error when sending EthRaw frame

Other Parts Discussed in Thread: SYSBIOS, AM3359

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 apply for two socket handle in it. Onw for send and one for receive. 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 numbers sent success is around 1700

pktNumFrameBufs  = 1024 , the frame numbers sent success is around 3400

pktNumFrameBufs  = 256 , the frame numbers sent success is around 850

Is somebody have some idea?

Thank you!