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" ...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- I am assigning port no: 8 and IP address 192.168.1.207 for nios-ii board wheras the server machine who is sending high speed UDP packet having port no :9 and IP address: 192.168.1.66 its an Linux Fedora-5 machine. --- Quote End --- I doubt these IP addresses are correct, because manual clearly says, that the IP is settable only using SW0 on the board. If You're changing IP of the TCP/IP stack, then You totally don't understand how this hardware offload works. The packets are not moved to TCP/IP stack if they're offloaded in hardware, so the IP/port checking is done BEFORE the TCP/IP stack. I am not sure if it checks for particular IP, but I am sure it checks for correct port. --- Quote Start --- * as i have already mentioned in my previous post: when i send slow UDP packets towards nios-ii based client (by putting smoll delay between consequential packet send) it collect all packet without saying "no free buffer for rx". --- Quote End --- Exactly what I am saying: if You send slow stream, then TCP/IP stack is fast enough to process all the packets. If the stream is fast - it isn't and buffers get filled.