Forum Discussion
Altera_Forum
Honored Contributor
14 years agono free buffers for rx
Hello
How do i increase the receive buffer size.... till now i have done following... 1. increase the receive Depth of TSE Mac... 2. Increase the MAXBIGPKTS from 30 to 512 in "ipport.h" 3. Increase the NUMBIGBUFS in "ipport.h" from 30 to 512 4. putting .heap and .stack in different memory region but till now there is no success. i have a image server who sends 512 UDP packet of size 512....on another end nios based receiver is running his job is to collect all these UDP packet in either internal or external memory...and send serieally to other cyclone device for further processing... currently i am able to receive 4 UDP packets of size 512...not more then that.. regards kaushal52 Replies
- Altera_Forum
Honored Contributor
You should start another thread, it's a different problem.
What protocol are you using? If you are using UDP, then it isn't guaranteed that the packet will be delivered. To control and configure it is better to use TCP, so that you are sure the data is sent and received. You may have to use an additional function call on the sending side to force the 4 bytes to be sent immediately and not kept in a buffer though. - Altera_Forum
Honored Contributor
Thanks for the reply.
I am already using TCP. Well I have increased FIFO depth in TSE, now I am able to send and receive without any problem.