+1... Thanks… Dave From: [email protected] [mailto:[email protected]] On Behalf Of Luke, Chris Sent: Friday, June 30, 2017 8:29 AM To: Alessio Silvestro <[email protected]>; [email protected] Subject: Re: [vpp-dev] Buffer allocation failure
The packet you receive, what do you do with it? If you don’t forward it, you have two choices: * You could deallocate its buffer. * Or, better, recycle it and use that packets buffer for your outgoing packet. That way you avoid the expense of allocating a new one. Chris. From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Alessio Silvestro Sent: Friday, June 30, 2017 8:25 To: [email protected]<mailto:[email protected]> Subject: [vpp-dev] Buffer allocation failure Dear vvp-dev, I developed a new vpp node that listen for UDP traffic on a specific port, then, for each received packet, create a new buffer and send an UDP packet to the source IP address. The application is running fine, but when I send some thousands of packets, at some point vpp starts to give "buffer allocation failure" error. Where do you think could be the problem. Is the node not correctly de-allocating the buffer or there is some specific vpp and/or system configuration that can cause this problem? Best regards, Alessio
_______________________________________________ vpp-dev mailing list [email protected] https://lists.fd.io/mailman/listinfo/vpp-dev
