From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Gonzalez Monroy, Sergio" Subject: Regarding rte_memzone_reserve with len =0 Date: Wed, 06 May 2015 17:10:50 +0100 Message-ID: <554A3D0A.6070605@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: "dev-VfR2kkLFssw@public.gmane.org" Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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