[dpdk-dev] [PATCH v1 0/3] lpm: increase number of next hops for lpm (ipv4)

Michal Jastrzebski michalx.k.jastrzebski at intel.com
Fri Oct 23 15:51:48 CEST 2015


From: Michal Kobylinski  <michalx.kobylinski at intel.com>

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



More information about the dev mailing list