From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id E09C9C31C for ; Thu, 4 Jun 2015 19:28:24 +0200 (CEST) Received: by wgme6 with SMTP id e6so38982136wgm.2 for ; Thu, 04 Jun 2015 10:28:24 -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 :cc:content-type; bh=JDXaveAWaSKEbFHQz3Kd+Ha3Dg6cv4rMO8N3E9Umw+s=; b=S15/6WbX1lbGkaEuy4v6wMj+Wp7XiPsfYSFQ1/k6HLkPsvx3K/wHhKBugAZbp2OLvH swDcg1Llw5EckoVMrGqvrnGzgPAZovSF7l+3nGAsm7UYArQKMXyJZK6GIspSdx8rqKtp 6/SWWAlKPu59c+9inf/t69zfiOtUPRW4yB7uRQjTWfr9w/njm+9w+16qNPTOk3oePPZM yJBZSkf/3rD7G/Onm5U/9UFhfuQ7/2yXt2RMdKreYuC2XCp1y/9n+PB3tBk9hj/pOIlK sc7bBaxZAY8qbk5ni9h6Da1pDRgx44bZlPLqjDeuONlMiiVD20ImLQwcBDqYJVqNumQU eURQ== MIME-Version: 1.0 X-Received: by 10.180.99.39 with SMTP id en7mr54086033wib.31.1433438904701; Thu, 04 Jun 2015 10:28:24 -0700 (PDT) Received: by 10.194.20.74 with HTTP; Thu, 4 Jun 2015 10:28:24 -0700 (PDT) In-Reply-To: <2601191342CEEE43887BDE71AB97725821434E1C@irsmsx105.ger.corp.intel.com> References: <2601191342CEEE43887BDE71AB97725821434E1C@irsmsx105.ger.corp.intel.com> Date: Thu, 4 Jun 2015 10:28:24 -0700 Message-ID: From: Dax Rawal To: "Ananyev, Konstantin" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] mempool with custom alignment 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: Thu, 04 Jun 2015 17:28:25 -0000 Thanks, Konstantin. On Thu, Jun 4, 2015 at 1:45 AM, Ananyev, Konstantin < konstantin.ananyev@intel.com> wrote: > > > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Dax Rawal > > Sent: Wednesday, June 03, 2015 7:30 PM > > To: dev@dpdk.org > > Subject: [dpdk-dev] mempool with custom alignment > > > > Hi, > > I use mempool APIs to allocate DMA-able descriptor ring and buffers so > that > > I get both physical and virtual addresses of allocated memory. I buffers > I > > get from the mempool APIs are 64 byte aligned. My requirement is 256byte > > alignment. How to achieve this? mempool APIs do not seem to take > alignment > > parameters. > > > > Thanks, > > -Dax > > Something like that: > http://patchwork.dpdk.org/ml/archives/dev/2014-October/006595.html > should work, I think. > Konstantin >