DPDK patches and discussions
 help / color / mirror / Atom feed
From: Michal Jastrzebski <michalx.k.jastrzebski@intel.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [PATCH v5 0/2] Increased number of next hops for LPM IPv4.
Date: Wed,  9 Mar 2016 17:57:14 +0100	[thread overview]
Message-ID: <1457542636-9972-1-git-send-email-michalx.k.jastrzebski@intel.com> (raw)
In-Reply-To: <1457470323-26368-1-git-send-email-michalx.kobylinski@intel.com>

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

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

  parent reply	other threads:[~2016-03-09 16:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-08 20:52 [dpdk-dev] [PATCH v3 " Michal Kobylinski
2016-03-08 20:52 ` [dpdk-dev] [PATCH v3 1/2] lpm: extended ipv4 next_hop field Michal Kobylinski
2016-03-08 20:52 ` [dpdk-dev] [PATCH 2/2] examples: update to use new lpm lib for ipv4 Michal Kobylinski
2016-03-09  0:45   ` Thomas Monjalon
2016-03-09  0:42 ` [dpdk-dev] [PATCH v3 0/2] Increased number of next hops for LPM IPv4 Thomas Monjalon
2016-03-09  9:28   ` Kobylinski, MichalX
2016-03-09 12:40 ` [dpdk-dev] [PATCH v4] lpm: extended ipv4 next_hop field Michal Jastrzebski
2016-03-09 13:39   ` Thomas Monjalon
2016-03-09 16:57 ` Michal Jastrzebski [this message]
2016-03-09 16:57   ` [dpdk-dev] [PATCH v5 1/2] " Michal Jastrzebski
2016-03-09 16:57   ` [dpdk-dev] [PATCH v5 2/2] lpm: added a new rte_lpm_config structure for ipv4 Michal Jastrzebski
2016-03-09 22:09   ` [dpdk-dev] [PATCH v5 0/2] Increased number of next hops for LPM IPv4 Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1457542636-9972-1-git-send-email-michalx.k.jastrzebski@intel.com \
    --to=michalx.k.jastrzebski@intel.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).