[dpdk-dev] Regarding rte_memzone_reserve with len =0

2015-05-13 Thread Olivier MATZ
On 05/13/2015 12:14 PM, Gonzalez Monroy, Sergio wrote: > On 12/05/2015 15:48, Olivier MATZ wrote: >> Hi Sergio, >> >> On 05/06/2015 06:10 PM, Gonzalez Monroy, Sergio wrote: >>> Hi, >>> >>> I was wondering about the use case of rte_memzone_reserve_ APIs with >>> len=0. >>> >>> From the docs (ht

[dpdk-dev] Regarding rte_memzone_reserve with len =0

2015-05-13 Thread Gonzalez Monroy, Sergio
On 12/05/2015 15:48, Olivier MATZ wrote: > Hi Sergio, > > On 05/06/2015 06:10 PM, Gonzalez Monroy, Sergio wrote: >> Hi, >> >> I was wondering about the use case of rte_memzone_reserve_ APIs with >> len=0. >> >> From the docs (http://dpdk.org/doc/api/rte__memzone_8h.html): >> len The s

[dpdk-dev] Regarding rte_memzone_reserve with len =0

2015-05-12 Thread Olivier MATZ
Hi Sergio, On 05/06/2015 06:10 PM, Gonzalez Monroy, Sergio wrote: > Hi, > > I was wondering about the use case of rte_memzone_reserve_ APIs with > len=0. > > From the docs (http://dpdk.org/doc/api/rte__memzone_8h.html): > len The size of the memory to be reserved. If it is 0, the > b

[dpdk-dev] Regarding rte_memzone_reserve with len =0

2015-05-06 Thread Gonzalez Monroy, Sergio
Hi, I was wondering about the use case of rte_memzone_reserve_ APIs with len=0. From the docs (http://dpdk.org/doc/api/rte__memzone_8h.html): len The size of the memory to be reserved. If it is 0, the biggest contiguous zone will be reserved. What are the use cases? When would yo