From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 7FA63BDC2 for ; Wed, 3 Jun 2015 20:58:41 +0200 (CEST) Received: by wgez8 with SMTP id z8so16897297wge.0 for ; Wed, 03 Jun 2015 11:58:41 -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=Lyxh2UTl3j/kOVnX4HbiRf+9VR3+AXHpXm1IC+9B+XM=; b=oilnPDTRTQB2lBUIHMODrKyL7s5UEPBzvmF8GPidqH7A8MkgJeYPyoDlBjwJpMvlJk jcb5EJcENWN/qXccuw9ICz1Y5RctUazekDIg6bDo8kkRBRw0ZaI2LZXmM4rfWizoZR1c Ua+c07GYItl8kFlfwB9igtURQqalzaKWhxTw3pFJuC6K8n8c8l7iuN+WXe1iR4KrvtBy +l4Qo1nhAsQvV1W+44OZRM04ZNzxVfMv24AcpNJHXFoi9vsWaqyLl8l5dBYq4zQCMLeI gfPOWtpOCwnECS7OdEL4rpixDzRPAtcMwW48o8bzNncwhxLvtCeupLuEcJf6PkBgda4f a1Ag== MIME-Version: 1.0 X-Received: by 10.194.97.196 with SMTP id ec4mr64598378wjb.3.1433357921376; Wed, 03 Jun 2015 11:58:41 -0700 (PDT) Received: by 10.194.20.74 with HTTP; Wed, 3 Jun 2015 11:58:41 -0700 (PDT) In-Reply-To: <20150603113630.06cc7b8c@cchemparathy-ubuntu> References: <20150603113630.06cc7b8c@cchemparathy-ubuntu> Date: Wed, 3 Jun 2015 11:58:41 -0700 Message-ID: From: Dax Rawal To: Cyril Chemparathy 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: Wed, 03 Jun 2015 18:58:41 -0000 Hi Cyril, Definitely, yes. Thanks. -Dax On Wed, Jun 3, 2015 at 11:36 AM, Cyril Chemparathy wrote: > On Wed, 3 Jun 2015 11:30:17 -0700 > Hi Dax, > > Dax Rawal wrote: > > > 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. > > > > I have a patch that allows configuration override of mempool element > alignment to allow for larger alignment limits (e.g. 128B on the > TILE-Gx platform, 256B on yours). Would that suffice? If so, I'd be > happy to post this patch on the mailing list. > > Thanks > -- Cyril. >