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.

[OMAP3530] Ethernet speed configuration...

Other Parts Discussed in Thread: OMAP3530

Hi All,
 
We are working on OMAP3530 (mistral) board.

 
We implemented UDP protocol data transfer from PC to our board using socket programming.
But the rate at which pc is transferring is not matching with the rate at which  board is receiving.... 
 
PC is transferring at very high speed...  So I put sleep(1) after each packet transfer.So I am ensuring that board is receiving all the packets I am sending from PC. I tried usleep(200000).. then also it was working fine.. If i reduce the delay further.. data is not transferred properly...

 

Is there any way to check the speed of the incoming data from the port of the board... ? Are there any specific settings..  to configure the ethernet speed? How to check the default speed....
 
P.S : If i am trying to transfer the data from PC to PC (same and other PC ) .. with the same code.. data is getting transferred  properly...

 
Please help me..

 


Thanks and Reagards,

M.BHARATH

  • Hi,

    You can check the performance using iperf. This tool helps you in obtaining both TCP and UDP performance numbers.

    There are no specfic settings. By default auto negotiation is enabled & if you connect it to a 100 Mbps port, then it will negotiate the link speed at 100Mbps Full duplex.

    If you want you can configure the link speed using a tool called ethtool. Using ethtool, you can configure speeds/duplexity(10 HD,10FD,100HD and 100FD). You can also turn on/off auto negotiation.

    The same tool (ethtool) when run without any arguments like - ethtool eth0 will give you the current settings/configuration.

    Thanks,

    Prathap.