Re: [dpdk-dev] custom align for mempool elements

2017-05-10 Thread Olivier Matz
Hi Gregory, On Fri, 5 May 2017 20:23:15 +0300, Gregory Etelson wrote: > Hello Oliver, > > Our application writes data from incoming MBUFs to storage device. > For performance considerations we use O_DIRECT storage access > and work in 'zero copy' data mode. > To achieve the 'zero copy' we MUST a

Re: [dpdk-dev] custom align for mempool elements

2017-05-05 Thread Gregory Etelson
Hello Oliver, Our application writes data from incoming MBUFs to storage device. For performance considerations we use O_DIRECT storage access and work in 'zero copy' data mode. To achieve the 'zero copy' we MUST arrange data in all MBUFs to be 512 bytes aligned With pre-calculated custom pool ele

Re: [dpdk-dev] custom align for mempool elements

2017-05-05 Thread Olivier Matz
Hi Gregory, On Wed, 26 Apr 2017 07:00:49 +0300, Gregory Etelson wrote: > Signed-off-by: Gregory Etelson > --- > lib/librte_mempool/rte_mempool.c | 27 --- > lib/librte_mempool/rte_mempool.h | 1 + > 2 files changed, 21 insertions(+), 7 deletions(-) > > diff --git a/lib

[dpdk-dev] custom align for mempool elements

2017-04-25 Thread Gregory Etelson
Signed-off-by: Gregory Etelson --- lib/librte_mempool/rte_mempool.c | 27 --- lib/librte_mempool/rte_mempool.h | 1 + 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index f65310f..c780df3