From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 99F882BDA for ; Tue, 8 Mar 2016 21:52:04 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 08 Mar 2016 12:52:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,558,1449561600"; d="scan'208";a="932495830" Received: from gklab-246-018.igk.intel.com (HELO stargo) ([10.217.246.18]) by fmsmga002.fm.intel.com with SMTP; 08 Mar 2016 12:52:03 -0800 Received: by stargo (sSMTP sendmail emulation); Tue, 08 Mar 2016 21:57:31 +0100 From: Michal Kobylinski To: dev@dpdk.org Date: Tue, 8 Mar 2016 21:57:26 +0100 Message-Id: <1457470648-26415-1-git-send-email-michalx.kobylinski@intel.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/2] Added a new rte_lpm_config structure for IPv4. 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: Tue, 08 Mar 2016 20:52:05 -0000 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. Michal Kobylinski (2): lpm: added a new rte_lpm_config structure for ipv4 examples: update to use new rte_lpm_config structure for ipv4 app/test/test_func_reentrancy.c | 9 +- app/test/test_lpm.c | 145 ++++++++++++++++++++---- app/test/test_mp_secondary.c | 7 +- app/test/test_table_combined.c | 2 + app/test/test_table_tables.c | 2 + doc/guides/rel_notes/release_16_04.rst | 5 + examples/ip_fragmentation/main.c | 7 +- examples/ip_reassembly/main.c | 7 +- examples/l3fwd-power/main.c | 10 +- examples/l3fwd-vf/main.c | 10 +- examples/l3fwd/l3fwd_lpm.c | 9 +- examples/load_balancer/init.c | 8 +- examples/performance-thread/l3fwd-thread/main.c | 8 +- lib/librte_lpm/rte_lpm.c | 51 ++++++--- lib/librte_lpm/rte_lpm.h | 23 +++- lib/librte_table/rte_table_lpm.c | 12 +- lib/librte_table/rte_table_lpm.h | 6 + 17 files changed, 262 insertions(+), 59 deletions(-) -- 1.9.1