Forum Discussion
Altera_Forum
Honored Contributor
12 years agoNiche "Zero copy" mode trouble: buffer overflow
Hello. I am trying to launch "Zero copy" mode of the TCP data transmission with Niche stack. It seems to be living, but after some amount of packets the transmission buffer overflows (tcp_xou...
Altera_Forum
Honored Contributor
12 years agoI've increased the TX buffer size : tcp_sendspace = 1024*64;
But now I have another problem: the line pkt = tcp_pktalloc(800); gives me NULL. During debug I see that the queue bigfreeq has 0 (zeroes) in nearly all members of the structure. So, the queue is broken and can't give space for the packet. Does anybody know what can lead to the bigfreeq data corruption?