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 --- #define ALTERA_PKT_MEM 1 # define ALTERA_PKT_MEM PACKET_MEM_BASE # define ALTERA_PKT_MEM PACKET_MEM_SPAN --- Quote End --- Those should be 3 different defines, the word document shows: --- Quote Start --- #define ALTERA_MRAM_FOR_PACKETS 1 # define ALTERA_MRAM_ALLOC_BASE PACKET_MEM_BASE # define ALTERA_MRAM_ALLOC_SPAN PACKET_MEM_SPAN --- Quote End --- In your code you are redefining 3 times the same symbol. You also have to add the optimizations.c file from the Ethernet Accel Design example to your own project, so that it can find references to the ncpballoc functions. I don't see any connection to the descriptors memory on your SOPC screenshot.