From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id D01ADE72 for ; Wed, 6 May 2015 18:10:52 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 06 May 2015 09:10:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,380,1427785200"; d="scan'208";a="490148405" Received: from unknown (HELO [10.237.220.51]) ([10.237.220.51]) by FMSMGA003.fm.intel.com with ESMTP; 06 May 2015 09:10:51 -0700 Message-ID: <554A3D0A.6070605@intel.com> Date: Wed, 06 May 2015 17:10:50 +0100 From: "Gonzalez Monroy, Sergio" User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "dev@dpdk.org" Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] Regarding rte_memzone_reserve with len =0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 16:10:53 -0000 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