From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 73FC9C166 for ; Thu, 18 Feb 2016 11:02:08 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 18 Feb 2016 02:02:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,464,1449561600"; d="scan'208";a="888530607" Received: from dhunt5-mobl.ger.corp.intel.com (HELO [10.237.221.50]) ([10.237.221.50]) by orsmga001.jf.intel.com with ESMTP; 18 Feb 2016 02:02:06 -0800 To: Michal Kobylinski , "dev@dpdk.org" References: <1454069573-12059-1-git-send-email-michalx.kobylinski@intel.com> <1454069573-12059-2-git-send-email-michalx.kobylinski@intel.com> From: "Hunt, David" Message-ID: <56C5969D.9040502@intel.com> Date: Thu, 18 Feb 2016 10:02:05 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1454069573-12059-2-git-send-email-michalx.kobylinski@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v2 1/2] lpm: extend ip4 next_hop and add config structure 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: Thu, 18 Feb 2016 10:02:08 -0000 On 1/29/2016 12:12 PM, Michal Kobylinski wrote: > As next_hop field for IPv4 is increased now the maximum number of tbl8s is 2^24. > A new rte_lpm_config structure is used so LPM library will allocate > exactly the amount of memory which is necessary to hold application’s rules. > > Changed structures in LPM library: > rte_lpm_tbl24_entry and rte_lpm_tbl8_entry to one structure > rte_lpm_tbl_entry. > > Signed-off-by: Michal Kobylinski Acked-by: David Hunt