[dpdk-dev] mempool with custom alignment

2015-06-04 Thread Dax Rawal
:30 PM > > To: dev at 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 >

[dpdk-dev] mempool with custom alignment

2015-06-04 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Dax Rawal > Sent: Wednesday, June 03, 2015 7:30 PM > To: dev at dpdk.org > Subject: [dpdk-dev] mempool with custom alignment > > Hi, > I use mempool APIs to allocate DMA-able descri

[dpdk-dev] mempool with custom alignment

2015-06-03 Thread Dax Rawal
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 a

[dpdk-dev] mempool with custom alignment

2015-06-03 Thread Cyril Chemparathy
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

[dpdk-dev] mempool with custom alignment

2015-06-03 Thread Dax Rawal
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 alignm