[dpdk-dev] Regarding rte_memzone_reserve with len =0

Gonzalez Monroy, Sergio sergio.gonzalez.monroy at intel.com
Wed May 6 18:10:50 CEST 2015


Hi,

I was wondering about the use case of rte_memzone_reserve_xxxx 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 you want a memzone of undetermined size?

Any thoughts appreciated.

Sergio



More information about the dev mailing list