Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-20 Thread Bruce Richardson
On Mon, Mar 19, 2018 at 06:03:52PM +0100, Olivier Matz wrote: > On Sat, Mar 10, 2018 at 03:39:34PM +, Andrew Rybchenko wrote: > > Size of memory chunk required to populate mempool objects depends > > on how objects are stored in the memory. Different mempool drivers > > may have different requi

Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-20 Thread Andrew Rybchenko
On 03/19/2018 08:03 PM, Olivier Matz wrote: On Sat, Mar 10, 2018 at 03:39:34PM +, Andrew Rybchenko wrote: --- a/lib/librte_mempool/Makefile +++ b/lib/librte_mempool/Makefile @@ -11,11 +11,12 @@ LDLIBS += -lrte_eal -lrte_ring EXPORT_MAP := rte_mempool_version.map -LIBABIVER := 3 +LIB

Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-19 Thread Olivier Matz
On Sat, Mar 10, 2018 at 03:39:34PM +, Andrew Rybchenko wrote: > Size of memory chunk required to populate mempool objects depends > on how objects are stored in the memory. Different mempool drivers > may have different requirements and a new operation allows to > calculate memory size in accor

Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-11 Thread Andrew Rybchenko
On 03/11/2018 03:51 PM, santosh wrote: Hi Andrew, On Saturday 10 March 2018 09:09 PM, Andrew Rybchenko wrote: Size of memory chunk required to populate mempool objects depends on how objects are stored in the memory. Different mempool drivers may have different requirements and a new operation

Re: [dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-11 Thread santosh
Hi Andrew, On Saturday 10 March 2018 09:09 PM, Andrew Rybchenko wrote: > Size of memory chunk required to populate mempool objects depends > on how objects are stored in the memory. Different mempool drivers > may have different requirements and a new operation allows to > calculate memory size i

[dpdk-dev] [PATCH v1 1/9] mempool: add op to calculate memory size to be allocated

2018-03-10 Thread Andrew Rybchenko
Size of memory chunk required to populate mempool objects depends on how objects are stored in the memory. Different mempool drivers may have different requirements and a new operation allows to calculate memory size in accordance with driver requirements and advertise requirements on minimum memor