From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dax Rawal Subject: mempool with custom alignment Date: Wed, 3 Jun 2015 11:30:17 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 To: dev@dpdk.org Return-path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 8A72A4A63 for ; Wed, 3 Jun 2015 20:30:17 +0200 (CEST) Received: by wiga1 with SMTP id a1so23920429wig.0 for ; Wed, 03 Jun 2015 11:30:17 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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