From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Jastrzebski Subject: [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4) Date: Fri, 23 Oct 2015 15:51:48 +0200 Message-ID: <1445608311-8092-1-git-send-email-michalx.k.jastrzebski@intel.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 8FA6A5921 for ; Fri, 23 Oct 2015 15:53:43 +0200 (CEST) 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" From: Michal Kobylinski The current DPDK implementation for LPM for IPv4 and IPv6 limits the number of next hops to 256, as the next hop ID is an 8-bit long field. Proposed extension increase number of next hops for IPv4 to 2^24 and also allows 32-bits read/write operations. This patchset requires additional change to rte_table library to meet ABI compatibility requirements. A v2 will be sent next week. Michal Kobylinski (3): lpm: increase number of next hops for lpm (ipv4) examples: update of apps using librte_lpm (ipv4) doc: update release 2.2 after changes in librte_lpm app/test/test_func_reentrancy.c | 4 +- app/test/test_lpm.c | 227 ++++----- doc/guides/rel_notes/release_2_2.rst | 2 + examples/ip_fragmentation/main.c | 10 +- examples/ip_reassembly/main.c | 9 +- examples/l3fwd-power/main.c | 2 +- examples/l3fwd-vf/main.c | 2 +- examples/l3fwd/main.c | 16 +- examples/load_balancer/runtime.c | 3 +- lib/librte_lpm/rte_lpm.c | 887 ++++++++++++++++++++++++++++++++++- lib/librte_lpm/rte_lpm.h | 295 +++++++++++- lib/librte_lpm/rte_lpm_version.map | 59 ++- lib/librte_table/rte_table_lpm.c | 10 +- 13 files changed, 1345 insertions(+), 181 deletions(-) -- 1.9.1