hello
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