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 agohello
Daixiwen please see the attached print screen for descriptor memory decriptor_mem.jpg. i have correct the ipport.h and add the optimization.c file to my project and compile the project in Nios II-Eclips initially my configuration is: packet memory size is 65536 (packet_mem_High.jpeg) and Tse mac fifo depths 2048x32 (packet_mem_High.jpeg & Project_Info.jpeg) i have got the error saying :: panic: out of mem then i reduce the TSE_MAC FIFO Depth (2048x32 to 512x32) and keeping Packet memory size fix (65536) (plz see tse_512x32_on_chip_32768.jpeg) again i got the same error "panic: out of mem", then reduce the Packet memory from 65536 to 32768 (plz see attached on_chip_mem_32768.jpeg) and again i got the same error "panic: out of mem". shouild i further reduce the packet memory size, i have Altera Embedded Development Board having Cyclone-III Device. earlier when i do not using packet memory, i put TSE_MAC FIFO Depth to its maximum level (There is slider button on tse_mac) at that time i am not facing any such errors. and able to receive 450 UDP packet of Size 512. Regards kaushal