[dpdk-dev] [PATCH 2/2] mem: fix mempool for --no-huge

2013-07-26 Thread Thomas Monjalon
26/07/2013 16:59, Adrien Mazarguil : > On Fri, Jul 26, 2013 at 04:39:13PM +0200, Damien Millescamps wrote: > > In --no-huge mode, mempool provides objects with their associated > > header/trailer fitting in a standard page (usually 4KB). > > This means all non-UIO driver should work correctly in th

[dpdk-dev] [PATCH 2/2] mem: fix mempool for --no-huge

2013-07-26 Thread Adrien Mazarguil
On Fri, Jul 26, 2013 at 04:39:13PM +0200, Damien Millescamps wrote: > In --no-huge mode, mempool provides objects with their associated > header/trailer fitting in a standard page (usually 4KB). > This means all non-UIO driver should work correctly in this mode, > since UIO drivers allocate ring si

[dpdk-dev] [PATCH 2/2] mem: fix mempool for --no-huge

2013-07-26 Thread Damien Millescamps
In --no-huge mode, mempool provides objects with their associated header/trailer fitting in a standard page (usually 4KB). This means all non-UIO driver should work correctly in this mode, since UIO drivers allocate ring sizes that cannot fit in a page. Extend rte_mempool_virt2phy to obtain the co