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 09A45567E for ; Wed, 9 Mar 2016 17:57:22 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 09 Mar 2016 08:57:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,311,1455004800"; d="scan'208";a="920290590" Received: from unknown (HELO Sent) ([10.217.248.149]) by fmsmga001.fm.intel.com with SMTP; 09 Mar 2016 08:57:19 -0800 Received: by Sent (sSMTP sendmail emulation); Wed, 09 Mar 2016 17:57:18 +0100 From: Michal Jastrzebski To: dev@dpdk.org Date: Wed, 9 Mar 2016 17:57:14 +0100 Message-Id: <1457542636-9972-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1457470323-26368-1-git-send-email-michalx.kobylinski@intel.com> References: <1457470323-26368-1-git-send-email-michalx.kobylinski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 0/2] Increased number of next hops for LPM 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: Wed, 09 Mar 2016 16:57:23 -0000 From: Michal Kobylinski This patchset extend next_hop field from 8-bits to 24-bits in LPM library for IPv4. As next_hop field 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. Added versioning symbols to functions and updated library and applications that have a dependency on LPM library. Michal Kobylinski (2): lpm: extended ipv4 next_hop field lpm: added a new rte_lpm_config structure for ipv4 app/test/test_func_reentrancy.c | 9 +- app/test/test_lpm.c | 267 ++++-- 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 | 8 + examples/ip_fragmentation/main.c | 23 +- examples/ip_reassembly/main.c | 22 +- examples/l3fwd-power/main.c | 12 +- examples/l3fwd-vf/main.c | 12 +- examples/l3fwd/l3fwd_em_sse.h | 2 +- examples/l3fwd/l3fwd_lpm.c | 9 +- examples/l3fwd/l3fwd_lpm.h | 6 +- examples/l3fwd/l3fwd_lpm_sse.h | 24 +- examples/l3fwd/l3fwd_sse.h | 8 +- examples/load_balancer/init.c | 8 +- examples/load_balancer/runtime.c | 2 +- examples/performance-thread/l3fwd-thread/main.c | 41 +- lib/librte_lpm/rte_lpm.c | 1107 ++++++++++++++++++++--- lib/librte_lpm/rte_lpm.h | 227 +++-- lib/librte_lpm/rte_lpm_version.map | 11 + lib/librte_table/rte_table_lpm.c | 27 +- lib/librte_table/rte_table_lpm.h | 6 + 23 files changed, 1520 insertions(+), 322 deletions(-) -- 1.9.1