[dpdk-dev] mempool with custom alignment

Ananyev, Konstantin konstantin.ananyev at intel.com
Thu Jun 4 10:45:15 CEST 2015



> -----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 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


More information about the dev mailing list