From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by dpdk.org (Postfix) with ESMTP id 6381B156 for ; Tue, 1 Apr 2014 13:06:52 +0200 (CEST) Received: by mail-we0-f174.google.com with SMTP id t60so6161138wes.33 for ; Tue, 01 Apr 2014 04:08:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=LAiYPz74fdqAB8f/1qxegU/g2cra/aHbcQBnq/AfJcA=; b=HJo322ChVPTyvoxWbrUNaLWfVbqEBWLOBjWEyUjwEPDfq6L+/QoUfwZ1GK/7BuA4cE ENfMD1pqi0USQw0ngzh8RO8z9fs4bsbddlfD5ku+kEnNnOdzlj4bjLV3iTo6JAtUq3Mg ScFsHkpsUgig5GmUclqSEqUxJZUqO9dWo7hi1pbdO2BPd2fo7cS4/BG02M25xt2MEXoH DfgcTbfr8Qc6HRIfsvAeVHjmxQ4VGg0V+ufsngldt15yDIAfG7I2ouZXg5NAPX1exR3W Eu6P/LLqh64SOzm9Gr0Ic698BbW3y7Ii1e6RCBfGUOBQy7Hhe/Qa/mItvzlwCBtrXebj DIhA== MIME-Version: 1.0 X-Received: by 10.181.13.112 with SMTP id ex16mr19161864wid.23.1396350506674; Tue, 01 Apr 2014 04:08:26 -0700 (PDT) Received: by 10.194.237.227 with HTTP; Tue, 1 Apr 2014 04:08:26 -0700 (PDT) Date: Tue, 1 Apr 2014 14:08:26 +0300 Message-ID: From: Meir Tseitlin To: dev@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] rte_pktmbuf_alloc fails X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2014 11:06:52 -0000 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