From mboxrd@z Thu Jan 1 00:00:00 1970 From: Meir Tseitlin Subject: rte_pktmbuf_alloc fails Date: Tue, 1 Apr 2014 14:08:26 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi, I modified l2fwd example to "inject" additional Ethernet packets into the flow by allocating them with rte_pktmbuf_alloc. I do succeed to call rte_pktmbuf_alloc when none (or almost none) packets where forwarded since application start, but it fails when application is busy handling traffic (even light traffic). Following Intel developers guide suggestion about thread safety, I am calling this function within the same CPU core I am about to send the packet. Any ideas? Thanks Meir Tseitlin