From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 23 Oct 2015 06:53:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,186,1444719600"; d="scan'208";a="833451273" Received: from unknown (HELO Sent) ([10.217.248.58]) by orsmga002.jf.intel.com with SMTP; 23 Oct 2015 06:53:22 -0700 Received: by Sent (sSMTP sendmail emulation); Fri, 23 Oct 2015 15:52:19 +0116 From: Michal Jastrzebski To: dev@dpdk.org Date: Fri, 23 Oct 2015 15:51:48 +0200 Message-Id: <1445608311-8092-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.1.1 Subject: [dpdk-dev] [PATCH v1 0/3] lpm: increase 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: Fri, 23 Oct 2015 13:53:44 -0000 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