From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) by dpdk.org (Postfix) with ESMTP id 862E6A10 for ; Wed, 1 Jul 2015 19:50:50 +0200 (CEST) Received: by ieqy10 with SMTP id y10so40140332ieq.0 for ; Wed, 01 Jul 2015 10:50:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=x/IfF98qQEhuZSYEXjyJSDj2mtd6V9D6Y9mXZDVTM3k=; b=WCCcbBrYWYMuYrfHs4LfAhDr9bfGFDFKQQgfeNZH8lmIOGLuXbtK1ZbnTorBhdAFi9 qqZ/xUF1u939SUoDwx3Gd7L77gqKz5IAKgfqfuHSylgvWK3jIcdNyWMNYrEnNKuMhQMh G2e1uWAyq+f8idgqmA0/TdWwl3e1SgejOmmVlZyr5OX70ZH8Bh3Hl4Bh8FxA/4FJ/amv vcxx4Mu3r2oKYLe5bIYmxW4oFfJqAN0edfGtkLI1BiZSxXE2XDxGjmkmYP96i9W5rF2N bWd5ib1FY3g45yeI5IcSc2L7ZT75MrUogiVtGqE6ym5kXoQWDLIHjlXH/izt8DRb9C8A Cvpw== MIME-Version: 1.0 X-Received: by 10.43.178.195 with SMTP id ox3mr6312934icc.10.1435773049990; Wed, 01 Jul 2015 10:50:49 -0700 (PDT) Received: by 10.36.194.129 with HTTP; Wed, 1 Jul 2015 10:50:49 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Jul 2015 10:50:49 -0700 Message-ID: From: Gopakumar Choorakkot Edakkunni To: dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Subject: Re: [dpdk-dev] Using rte_ring_mp_xyz() across EAL and non-EAL threads ? 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: Wed, 01 Jul 2015 17:50:51 -0000 rte_ring_create() needs a socket-id though and seems to be allocating core-specific memory pools for the ring ? But my non-EAL app thread is not bound to any core, so now I am wondering if that will work. Rgds, Gopa. On Wed, Jul 1, 2015 at 10:46 AM, Gopakumar Choorakkot Edakkunni wrote: > Hi, > > I have a requirement where one of my non-EAL app threads needs to > handoff some packets to an EAL task. I was thinking of using > rte_ring_mp_enqueue/dequeue for that purpose. I looked at the code for > the rte_ring library and it doesnt look like it has any "EAL" > dependencies, but I wanted to double confirm that there are no issues > in using it that way. Dint find much yes/no info about that on the > mailers/docs. Pls let me know your thoughts. > > Rgds, > Gopa.