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.

Problems on GbE transfer

Hello everyone,

    I want to transfer data between two C6678 through ethernet interface. I refered to pa_emac_exampleProject.

And now i have implemented the transmission. But the data tansfer rate is too low.

    The payload data of a packet is 80 bytes, which may be the cause of the  low tansfer rate. So I want to enlarge

the packet length. I  increased  the packet size to 1000 bytes (payload). At this time, when the transmitter sent 100

packets one time, the receier could only receive 41 packets. But if the transmitter send 10 packets,the receiver can

 receive 10 packets. In addition,when the payload is 80bytes, the receiver can receive all of packets no matter how

many the transmitter send. Here are my question.

1.  Why some packets are lost when the packet size is incresed to 1000 bytes?

2.  The GbE User Guide SPRUGV9B.pdf says , maximum frame size is 9500 bytes(9504 bytes with VLAN).

    But the function InitCpsw() in project PA_emacExample_exampleProject limit the maximum fame size to 1518

    bytes.  If I modify InitCpsw() to increase  the maximum fame size ,then there will be some errors when verify

    packets received.  Why does this happen? The maximum fame size should be 9500 or 1518 ?

PS : the location of PA_emacExample_exampleProject is

    pdk_C6678 /packages /ti/ drv /exampleProjects/ PA_emacExample_exampleProject

    Hope someone helps. Thank you in advance.

Regards,

Nuoxi