From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Hunt, David" Subject: Re: [PATCH v2 1/2] lpm: extend ip4 next_hop and add config structure Date: Thu, 18 Feb 2016 10:02:05 +0000 Message-ID: <56C5969D.9040502@intel.com> References: <1454069573-12059-1-git-send-email-michalx.kobylinski@intel.com> <1454069573-12059-2-git-send-email-michalx.kobylinski@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable To: Michal Kobylinski , "dev@dpdk.org" 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) In-Reply-To: <1454069573-12059-2-git-send-email-michalx.kobylinski@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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=E2=80= =99s 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