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 there,
I have make FIFO to its maximum value and that is 65536 x 32 Bits (Attached Print screen of TSE FIFO). And On chip memory is 65535 x 32. I don’t have any idea what become the descriptor memory size? i have made following changes in ipport.h #define NUMBIGBUFS 512 #define NUMLILBUFS 1 /* some maximum packet buffer numbers */ #define MAXBIGPKTS 512 #define MAXLILPKTS 1 #define MAXPACKETS (MAXLILPKTS+MAXBIGPKTS) #define BIGBUFSIZE 512*200 #define LILBUFSIZE 1//128 Which satisified the equation NUMBIGBUFS*BIGBUFSIZE+LILBUFSIZE*NUMLILBUFS = Size is equal oa less then packet memory that mean That is 512*512*200+1*1 = 52,428,800 Or 52,428,800/1024 = 51,200 <65535 (packet mmory) and still i got the same error saying "panic: out of mem" regards kaushal